Re:500 Lines or Less – A Python Interpreter Written in Python
by erdifr on Thursday September 08, 2016 @09:45PM
(#12459121)
The Wayback Machine seems to have a copy online. [1]
1: https://web.archive.org/web/20040305005602/http://modeemi.cs...
Re:500 Lines or Less – A Python Interpreter Written in Python
by lisper on Thursday September 08, 2016 @05:54PM
(#12457692)
This is similar, but in C++:
Re:500 Lines or Less – A Python Interpreter Written in Python
by kazinator on Thursday September 08, 2016 @06:39PM
(#12458058)
If you implement Arc in it as a subdialect, you get Arc en Ciel. :)
Re:500 Lines or Less – A Python Interpreter Written in Python
by nickpsecurity on Thursday September 08, 2016 @10:23PM
(#12459276)
Look up femtolisp. It's a fast interpreter that was around 1kloc at one point. Julia is built on it. It was LISP internally last I checked.
Re:500 Lines or Less – A Python Interpreter Written in Python
by padator on Friday September 09, 2016 @02:40AM
(#12460065)
I count more than 30 000 LOC
at https://github.com/JeffBezanson/femtolisp
Re:500 Lines or Less – A Python Interpreter Written in Python
by nickpsecurity on Friday September 09, 2016 @10:14AM
(#12462372)
I was going by the original description. No longer true it seems. I'll retract it then. Thanks. :)
Re:500 Lines or Less – A Python Interpreter Written in Python
by thomasahle on Thursday September 08, 2016 @04:34PM
(#12457022)
List is inherently easy to parse though.
Re:500 Lines or Less – A Python Interpreter Written in Python
by kazinator on Thursday September 08, 2016 @06:36PM
(#12458027)
That is neither here nor there because parsing is a small sub-problem of the overall problem of providing a complete programming language run-time. Lisp500 isn't a "meta-circular" interpreter; it cannot rely on a host Lisp's implementation of things like memory management, I/O streams, hashing, compilation, ...
Re:500 Lines or Less – A Python Interpreter Written in Python
by morenoh149 on Thursday September 08, 2016 @06:38PM
(#12458048)
not sure if troll
I can't find the sources for this.
Incomplete, no .lisp file: http://www.s2.org/~chery/projects/lisp500/
Doesn't connect: http://modeemi.cs.tut.fi/~chery/lisp500/
The most accessible source for this currently seems to be a "lisp5000" project in GitHub: https://github.com/jackpal/lisp5000
This is a derivative work whose C code has been blown up to 1600+ lines.