CodeWalrus

Development => Calculators => Calc Projects, Programming & Tutorials => Topic started by: Hooloowalrus on February 09, 2015, 06:00:35 AM

Title: Lisp on the TI-83+
Post by: Hooloowalrus on February 09, 2015, 06:00:35 AM
Lisp, one of the oldest languages still in use, has been ported to the z80 calcs! I started with 8kLisp, an almost 30 year old (older than me) codebase, and so far I have simple I/O working. The project is open-source, and can be found at https://github.com/fortytwopar/lisp8x (https://github.com/fortytwopar/lisp8x)
Title: Re: Lisp on the TI-83+
Post by: Duke "Tape" Eiyeron on February 09, 2015, 06:35:00 AM
(http://imgs.xkcd.com/comics/lisp.jpg)

Nice work indeed. I don't know lisp but having ported such a language is a great feat to do. I'd glad to see it having a bigger spotlight and some news about this project!
Title: Re: Lisp on the TI-83+
Post by: 岩倉 澪 on February 09, 2015, 07:48:39 AM
Wow, that is awesome! I am curious how well this performs, is the garbage collection relatively fast? I'm not a big lisp fan myself, though I did learn scheme and common lisp, watched the old SICP lectures, and went on a lisp binge back in the day (used emacs, stumpwm, etc).
Title: Re: Lisp on the TI-83+
Post by: Snektron on February 09, 2015, 08:15:06 AM
I've heard the tales about Lisp...
Good job though :D. Always great when there are more languages available for developers :D
Title: Re: Lisp on the TI-83+
Post by: Yuki on February 09, 2015, 01:17:02 PM
Oooh, Lisp on the 83+, that's cool.
Title: Re: Lisp on the TI-83+
Post by: Dream of Omnimaga on February 09, 2015, 03:43:51 PM
I saw that a while ago and this is very interesting. I wonder if Lisp can achieve stuff like graphical games or if it's more like TI-80 BASIC, for example? I am curious about what could be achieved with such language on a calculator, since some people like it.
Title: Re: Lisp on the TI-83+
Post by: Snektron on February 09, 2015, 05:54:00 PM
Is Lisp really the best choise for games, though? I mean i wouldn't make my programs in Lisp :P
Title: Re: Lisp on the TI-83+
Post by: Yuki on February 09, 2015, 06:23:05 PM
Yeah, Lisp is not really made for gaming. It's one of the first programming languages, created back in 1958.
Title: Re: Lisp on the TI-83+
Post by: 岩倉 澪 on February 09, 2015, 10:00:54 PM
Also notable for a lot of innovations, in many ways it was before its time. I believe it was the first garbage collected language, and its basis on lambda calculus led to a functional flavour that is just now becoming popular in modern languages as the decendents of C have been pulling inspiration from the functional paradigm. Not to mention it is notable for metaprogramming thanks to its use of s-expressions
Title: Re: Lisp on the TI-83+
Post by: Dream of Omnimaga on February 09, 2015, 10:32:13 PM
Ah ok thanks for the info. I was curious since Jonimus at Cemetech seemed very interested in it back in 2007 or so and some other people who also made games were as well. Maybe the old school-ness drew them to it?
Title: Re: Lisp on the TI-83+
Post by: Travis on February 12, 2015, 03:32:42 AM
I don't see why there couldn't be a library for graphics/game stuff or whatever, though, right? Whether it would be pleasant to code in would be a matter of opinion, I guess. Personally I wouldn't enjoy counting all the parentheses. :P I find Forth/RPL-like languages fun in a way, though it can be a pain to read old code without comments. I sometimes have to actually mentally execute the code in my head (or with the debugger) to figure out what it does... On the other hand it made for relatively simple parsers and really fast and efficient execution.