Jump to content


Language Design Resource


6 replies to this topic

#1 tobeythorn

    Valued Member

  • Members
  • PipPipPip
  • 189 posts

Posted 23 September 2009 - 06:36 PM

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?

Thanks,
-Tobey

#2 v71

    Valued Member

  • Members
  • PipPipPipPip
  • 354 posts

Posted 24 September 2009 - 12:53 PM

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
http://www.relisoft....ject/3stub.html

#3 tobeythorn

    Valued Member

  • Members
  • PipPipPip
  • 189 posts

Posted 24 September 2009 - 03:19 PM

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.

#4 SamuraiCrow

    Senior Member

  • Members
  • PipPipPipPip
  • 459 posts

Posted 24 September 2009 - 03:28 PM

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.

#5 poita

    Senior Member

  • Members
  • PipPipPipPip
  • 322 posts

Posted 24 September 2009 - 05:05 PM

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.

#6 tobeythorn

    Valued Member

  • Members
  • PipPipPip
  • 189 posts

Posted 24 September 2009 - 05:24 PM

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.

#7 poita

    Senior Member

  • Members
  • PipPipPipPip
  • 322 posts

Posted 24 September 2009 - 06:29 PM

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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users