Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Creating your own programming language

Name: Anonymous 2008-10-24 14:44

Has anyone here every created their own programming language? What was the syntax like, and what did you use to implement the language? Using Haskell to implement your language is cheating BTW, so don't even post here if your language is made from Haskell.

Name: Anonymous 2008-10-27 21:28

>>39
Domain Specific Language.
(Fuck off, you DON'T HELP HIM faggots.)

Also, if you just want to play around with designing a language and don't want it to look exactly like every other goddamn Lisp clone, take a look at Parrot. It's pretty easy to dump out PIR code. As for parsing, try Haskell (or Python with pyparsing, if haskell isn't your thing).

That should be more than enough to get you started; if you've any experience with lower level code (that is, if you've written a few things in assembler, or at the very least, lots and lots of stuff in C) you should be able to hammer away at some code and get a not-very-well-designed, but entirely functioning language, in less than 500 lines of code.

The best part about doing it this way is it won't be just another stupid Lisp or Forth clone.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List