flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > Own MenuettCodingLanguage...

Author
Thread Post new topic Reply to topic
joachim_neu



Joined: 22 Dec 2003
Posts: 139
joachim_neu
What do you think about programming an own programming language for MenuettOS, so that you may create with a command like:

Window(hight,bright)

Create a window and so on... And then you take a programm, which "compiles" the code in ASM and then youu assemble it with FAST for MenuettOS... Then it whould be simpler to code own programms for MenuettOS...
Post 17 Apr 2004, 19:33
View user's profile Send private message Visit poster's website Reply with quote
profkid13



Joined: 21 Aug 2003
Posts: 112
profkid13
i was thinking about that before..
i like the idea but i can't make the app by myself :d
Post 17 Apr 2004, 20:43
View user's profile Send private message Reply with quote
Dr.X



Joined: 29 Aug 2003
Posts: 60
Location: St. Petersburg, Fl. USA.
Dr.X
About a year ago, I suggested a BASIC to ASM translator for MenuetOS. I can't remember who Embarassed , but some one started making it. I'll bet it's still on the MenuetOS site.

Dr.X
Post 17 Apr 2004, 20:47
View user's profile Send private message Visit poster's website Reply with quote
LiuJunfeng



Joined: 28 Nov 2003
Posts: 48
Location: China
LiuJunfeng
I am trying to make a high level language compiler since oct last year. Now the language design has almost completed.
To make up a compiler still needs lots of time.
Post 18 Apr 2004, 06:03
View user's profile Send private message Reply with quote
joachim_neu



Joined: 22 Dec 2003
Posts: 139
joachim_neu
I'm not good enough to make such things... But you don't need a compiler... You only need a programm, who translates the code in ASM... I bet you all use WIN or LINUX, right? Maybe you can make the translator with C or Java and then dissasemble and port it to MenuettOS... How I said, I'm not good yet...
Post 18 Apr 2004, 08:18
View user's profile Send private message Visit poster's website Reply with quote
VitalOne



Joined: 29 Jul 2003
Posts: 54
Location: USA
VitalOne
joachim_neu wrote:
I'm not good enough to make such things... But you don't need a compiler... You only need a programm, who translates the code in ASM... I bet you all use WIN or LINUX, right? Maybe you can make the translator with C or Java and then dissasemble and port it to MenuettOS... How I said, I'm not good yet...


Most compilers just translate code into ASM Wink , there aren't many compilers which directly convert high level code into machine code (without the aid of an assembler).
Post 18 Apr 2004, 08:34
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
profkid13



Joined: 21 Aug 2003
Posts: 112
profkid13
Dr.X wrote:
About a year ago, I suggested a BASIC to ASM translator for MenuetOS. I can't remember who Embarassed , but some one started making it. I'll bet it's still on the MenuetOS site.

Dr.X


you mean this?

Menuetos website wrote:
Basic interpreter, Jarek Pelczar
Basic.zip
Post 18 Apr 2004, 16:20
View user's profile Send private message Reply with quote
Dr.X



Joined: 29 Aug 2003
Posts: 60
Location: St. Petersburg, Fl. USA.
Dr.X
That looks familiar. Very Happy

Dr.X
Post 18 Apr 2004, 16:24
View user's profile Send private message Visit poster's website Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
Quote:

Most compilers just translate code into ASM Wink , there aren't many compilers which directly convert high level code into machine code (without the aid of an assembler).

Most good compilers compile to some internal pcode format, run this through an optimizer, and generate machine code directly from that. MS and Intel C/C++ compilers do not rely on an external assembler. Things are even more different if you use full program optimization.

It's generally the outdated compilers (GNU GCC, for instance) that (afaik) relies on an external assembler to do the machine code step. Needless to say, this slows down things, as yet a round of parsing and validity checking (et cetera) is done, rather than working directly on already parsed p-code.

Btw, what's the executable file format used in MenuetOS? Might be possible to write a PE->MenuetExe converter, or perhaps code a PE loader for Menuet...
Post 18 Apr 2004, 22:10
View user's profile Send private message Visit poster's website Reply with quote
c#6



Joined: 20 Apr 2004
Posts: 25
c#6
Dr.X wrote:
About a year ago, I suggested a BASIC to ASM translator for MenuetOS. I can't remember who Embarassed , but some one started making it. I'll bet it's still on the MenuetOS site.

Dr.X


you mean this?

Menuetos website wrote:
Basic interpreter, Jarek Pelczar
Basic.zip

I have downloaded this file from Menuetos.org, but haven't had the chance to use it yet. Is it any good Question
Post 20 Apr 2004, 02:17
View user's profile Send private message Reply with quote
VitalOne



Joined: 29 Jul 2003
Posts: 54
Location: USA
VitalOne
c#6 wrote:
Dr.X wrote:
About a year ago, I suggested a BASIC to ASM translator for MenuetOS. I can't remember who Embarassed , but some one started making it. I'll bet it's still on the MenuetOS site.

Dr.X


you mean this?

Menuetos website wrote:
Basic interpreter, Jarek Pelczar
Basic.zip

I have downloaded this file from Menuetos.org, but haven't had the chance to use it yet. Is it any good Question


It's ok, a lot of stuff is missing from the syntax, I wish the syntax was documented
Post 20 Apr 2004, 02:27
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.