flat assembler
Message board for the users of flat assembler.

flat assembler > Programming Language Design > My programming language

Author
Thread Post new topic Reply to topic
booter



Joined: 08 Dec 2006
Posts: 67
I wrote lexer/parser for the new language. The idea is to create a high level language with assembly-like philosophy (pointers and goto, not variables and "structural programming"). My approach is exactly opposite to HLA.
In his "A Case against the GO TO Statement" Edsger W.Dijkstra wrote: "our intellectual powers are rather geared to master static relations and that our powers to visualize processes evolving in time are relatively poorly developed." I'd say, people of that kind don't like Assembler, but there are others, who think differently and love asm.
Anyways, I'm trying to find the best solution for the code generation (in FASM). Your suggestions would be appreciated.
I'm thinking about parser/lexer creating not the tree of data structures, but program code, which then get compiled into code generator specific to the source program (much simpler and may be even faster). Have you heard anybody did it like that?
Post 13 Nov 2018, 16:31
View user's profile Send private message 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 cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2018, Tomasz Grysztar.

Powered by rwasa.