Vote UpVote

Writing a Simple DSL Compiler with Delphi [Intermezzo]

The Delphi Geek – When I was preparing an article about the compiler part of my toy language project, I found out that the concept of wrapping a whole program into a bunch of anonymous functions (what the compiler does) is exceedingly hard to explain. I had therefore prepare a simplified version of the compiler, written for a very simplified language ... and then I couldn't stop and I added an AST, parser, tokenizer, interpreter and all shebang.The result of all that is a program introduction.dpr, a self-contained console program which contains a complete (almost trivial) language together with the full ...
Favorite? Off-Topic? Primož Gabrijelčič @ 2017-10-17 18:37


Visits: 2751
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)