A Lisp based programming language I'm creating
github.com
github.com
Thus, if I understand correctly, he wants to allow us to write & think about the code much as we might handle C code, while still having Lisp-style code-as-data power & flexibility available to us.
Or maybe not. Just guessing.
Even if the point is to write Algolish code, formatting it like this is likely to earn scorn rather than appreciation.
I don't think he's going to get much participation from the lisp community, but then again, everybody else is a much bigger community. So who knows, maybe the power of lisp combined with a non-lispy syntax is a balloon that can fly.
Sounds like Apple's old language Dylan, and perhaps the Julia language: http://www.johnmyleswhite.com/notebook/2012/03/31/julia-i-lo...
Also, quick links for others looking for Pliant:
Pliant syntax docs: http://hc.fullpliant.org/doc/language/syntax
Pliant language docs: http://hc.fullpliant.org/doc/
define( fact, ( n ), function(
cond( ( n = 0 || n = 1, 1 )
( n > 1, n * fact(n-1) )
)
)
print( fact( 5 ) )
I think I'd try to program in language like that. Lisp way of thinking, but parenthesis are bit more helpful and there are "normaly" used operators which makes language bit more readable.
Your project looks like another purely academic example. I think purely academic examples sucks because don't teach people to do what is actualy needed.I didn't read your code carefully, but "endles" elsif chains looks terrible and I think there shouldn't be stuff like that in tutorial project. Moreover I believe java isn't good tool for that purpouse( another nobody seems to teach ). I'd use flex and bison or perl if you realy want to implement lexical analisis yourself..
Now, about the "else if", I also felt bad about it, and I'm thinking about a changing for it, I'm still working on it, as in a lot of features. If you want to add some feature or change something, please feel free and do it - just show your purpose before do anything, so we might discuss how it will work .
And yes, I started this project while on university, and I don't think it sucks, because my intention is not to create a new technology - at first instance - but help people who want to learn how to write a programming language (as you can read on the README file), whatever comes to this project (bad or good), it will be well accepted for learning.
I also agree with you that Java is not the best tool for implement such thing, and I was thinking about rewriting it to C++ or Python.
This is all about the combination of
(a) the 0x10c compiler writing http://0x10c.com/ (assembler project), (had many hacker news posts) and
(b) Abdulaziz Ghuloum's An Incremental Approach to Compiler Construction http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf (which has had about two separate Hacker News posts):
That's my opinion.