Emacs Lisp now has lexical closures, too.
Common Lisp has no problems with 'polymorphic print'.
But it turns out that this axiomatic core is too impoverished for a lot of programming. You DO need something like Common Lisp on top. And I'm not really willing to open that can of worms, both for this specific project, and in general.
I would liken it to the language "Factor", which I've also experimented with... you took a specific and elegant paradigm, and tried to extend it to all paradigms, and ended up with a mess. A square peg in a round hole. Factor is basically Forth with OOP and a whole bunch of other stuff.
The other problem I pointed out is that the first problem you hit when writing a language is writing a lexer. I don't see anything that Lisp offers you in that respect. I looked at how Julia does it:
https://github.com/JuliaLang/julia/blob/master/src/julia-par...
Julia is actually bootstrapped in femtolisp. If you look at the lexer, it just looks like C code written with Scheme syntax. There's nothing helpful about this. It doesn't help you manage state. I might as well just write C.
(And actually I chose the code generator re2c, which is BETTER than C.)
Of the axiomatic core. But not of any programming language.
> But it turns out that this axiomatic core is too impoverished for a lot of programming.
It's not even a programming language. It's just an axiomatic core. If you try to use it for programming you must be doing something wrong.
> is writing a lexer. I don't see anything that Lisp offers you in that respect.
Lisp is a language family, not language implementation with a library, which happens to include a lexer library.
If you mean Common Lisp as a programming language with implementations, there are portable lexers.
https://github.com/lispbuilder/lispbuilder
Writing your own lexer in Lisp shouldn't be too hard. People have written applications in Lisp which includes lexer functionality.
And I'm not saying it's not possible to write lexers in Scheme or Common Lisp. I'm saying that there's no real benefit to doing so over C or even Python. You're using the exact same algorithms and just transliterating it into a different language with more awkward syntax for that problem. The code isn't any shorter.
Related to the other commenter as well, the production quality Julia parser in Lisp doesn't use parser combinators. It uses recursive descent. It's C code written in Lisp syntax.
I have never seen anyone developing software with the 'axiomatic core'. But I see Emacs Lisp, Common Lisp, Scheme, etc. developers.
> And I'm not saying it's not possible to write lexers in Scheme or Common Lisp. I'm saying that there's no real benefit to doing so over C or even Python.
Depends on what level you program. With Lisp it is possible to develop a compact syntax, which expresses domain-level concepts, very easily. Interactive development is many times more convenient than in C.
> You're using the exact same algorithms and just transliterating it into a different language with more awkward syntax for that problem. The code isn't any shorter.
I have a surprise for you: it's perfectly legal to write imperative code in Lisp. Lisp is at its heart a multi-paradigm language with the option to add many other paradigms.
With Python you develop mostly object-oriented and in C it's mostly imperative. With something like Common Lisp you can do what you want.