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 1:03

I've pondered making my own. I explored a variety of paradigms and languages (Lisp, Java, C/C++, Objective-C, Python, Ruby, VB, C#, etc). I wanted a fairly easy to read language. I also debated over having the language also be its own macro language. For the syntax, I chose to allow nearly every character to be an identifier (parenthesis and brackets being the only exception). White space would be the only only delimiter. I also wanted commands separated by a linefeed (since nearly all lines of code use just one line) with a character for line extension. All 'operators' are simply just identifiers. Functions can be declared to allow for only prefix notation (outside of the parenthesis) or infix notation (like operators). I never quite concluded on how infix evaluation priority would be determined. I wanted inline, anonymous (lambda) functions. But again I wasn't sure how I could abstract program flow commands and declarations so everything use the same form.

Basically I wanted the consistency and flexibility of Lisp with an easier syntax like Python. However after using Netbeans, I realized the program syntax is almost irrelevant when you have an IDE that can be wielded like the raw power of a god.

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