tobeythorn at September 23rd, 2009 14:36 — #1
I've become interested in programming language design and am trying to make my own language. Do you know if there is a forum like devmaster.net for discussing language design?
v71 at September 24th, 2009 08:53 — #2
There isn't a proper forum on language design, but you can google for
parsers and lexers, rcently i have been interested too and i found that there is a lot of theory behind have a look here for now
tobeythorn at September 24th, 2009 11:19 — #3
Maybe I should have posted this in the Lounge. In any case, I did try Google, and apart from forums for specific languages (which I have already be using), I didn't find any forums focused on general language design. Thanks for the link.
samuraicrow at September 24th, 2009 11:28 — #4
If you want to make a JIT or static compiler, you might look into using http://www.llvm.org/ to build it. It includes a cross-platform framework and an example tutorial on how to write a parser by hand called the Kaleidoscope Tutorial.
My partner and I am working on a PEG-based parser generator for the LLVM Assembly language so that might be handy for you. It's a subproject of our own programming language which is called Mattathias.
poita at September 24th, 2009 13:05 — #5
Are you looking for tips on language design or compiler/interpreter design? They're quite different things.
If it's the former then I suggest looking up the works of John Backus, Niklaus Wirth, and Alexander Stepanov. I don't really agree with some of their views, but they're very insightful and fundamental to language design. I also suggest you brush up on your abstract algebra, and the theories of formal languages and parsing.
tobeythorn at September 24th, 2009 13:24 — #6
Poita, I'm interested in information/discussion on language design, not compiler/interpreter design. Thanks for those names. Thus far, I've found understanding/deciding how a language should work much more challenging than deciding how to write an interpreter.
poita at September 24th, 2009 14:29 — #7
It certainly is a very tricky task. I've been trying to think up a language for a long time now, but keep hitting brick walls in my design.