Lisp in 99 lines of C for the Sharp PC-G850

Ici, on fait dans le petit, le LCD qui déchire sa race, on y cause même calculatrices quand on est en manque !

Modérateur : Politburo

Répondre
engelen
Fonctionne à 75 bauds
Fonctionne à 75 bauds
Messages : 21
Enregistré le : 01 sept. 2021 21:14
Localisation : New York
Contact :

Lisp in 99 lines of C for the Sharp PC-G850

Message par engelen »

I wrote a Lisp interpreter for the Sharp PC-G850(V)(S) in 99 lines of C with an article explaining the inner workings of Lisp in detail:

tinylisp on GitHub

The C program compiles and runs on the PC-G850(V)(S) itself:

Image

Might be a fun way to learn Lisp :D

- Robert
Avatar du membre
badaze
Fonctionne à 14400 bauds
Fonctionne à 14400 bauds
Messages : 8402
Enregistré le : 12 févr. 2007 18:36
Localisation : Pas très loin de Lyon
Contact :

Re: Lisp in 99 lines of C for the Sharp PC-G850

Message par badaze »

I learned Lisp at college. I hated it even if was ranked first at the exam.
Tout est bon dans le pocket.
Moi j'aime tout.... Casio, HP, Sharp, TI et les autres sauf que les TI semblent ne pas m'aimer :(
http://www.emmella.fr
Mes Casio - HP - Sharp - TI
Homme invisible.
engelen
Fonctionne à 75 bauds
Fonctionne à 75 bauds
Messages : 21
Enregistré le : 01 sept. 2021 21:14
Localisation : New York
Contact :

Re: Lisp in 99 lines of C for the Sharp PC-G850

Message par engelen »

Appreciation for Lisp grows over time :)

Lisp is interesting once you write an interpreter for it or studied the internals in its simplest, purest form. That's what this little project is about.

Otherwise, Lisp is just awkward syntax!

- Robert
FLISZT
Fonctionne à 1200 bauds
Fonctionne à 1200 bauds
Messages : 658
Enregistré le : 09 mars 2022 19:14

Re: Lisp in 99 lines of C for the Sharp PC-G850

Message par FLISZT »

Hi,

I saw your thread 2 days ago on the hpmuseum forum (I'm not registered). That's great!

I'd like a LISP for RPL (hp-50g) to play with.
RPL an other weird language… or not. :D
Bruno
Sanyo CZ-0124 ? TI-57 ? HP-15C ? Canon X-07 + XP-140 Monitor Card ? HP-41CX ? HP-28S ? HP-50G ? HP-50G
Avatar du membre
gege
Fonctionne à 14400 bauds
Fonctionne à 14400 bauds
Messages : 7147
Enregistré le : 31 janv. 2008 14:24
Localisation : Banlieue Paârisienne
Contact :

Re: Lisp in 99 lines of C for the Sharp PC-G850

Message par gege »

Hello Robert !
This is wonderful !!
Reading your document at the moment, and will try on the real metal.
Would you allow me to port it to the TI-89 (not knowing if it is feasible) ?
It would display a copyright notice as appropriate, no commercial purpose, and I would send you the resulting code.
Your work "begs" to be ported to all kind of machines, an additional language is always lots of fun.
Congratulations on this "tour de force".
G.E.
engelen
Fonctionne à 75 bauds
Fonctionne à 75 bauds
Messages : 21
Enregistré le : 01 sept. 2021 21:14
Localisation : New York
Contact :

Re: Lisp in 99 lines of C for the Sharp PC-G850

Message par engelen »

Hi G.E.
Thanks for the comments!
Sure, you can rewrite it and port the C code in any way you want. You have my permission.
Please post back on your progress. Happy to help if needed.

- Robert
Répondre

Retourner vers « Tous les Pockets »