On page 12 the author is nice enough to provide a table converting m-expressions to their equivalent s-expressions. He also mentions he saw m-expressions in LISP 1.0 manual. I cannot find a copy of this book. Neither physically, nor electronically. If any of you MITs know where I can get it or have more old papers about LISP using m-expressions please link them ITT.
I prefer paper copies but I understand if some things don't exist on paper anymore and I can always print it if I need to.
The only m-expression reference I have is only partly in m-expression and all the real code examples are trapped on an old-timey big floppy (I guess the little ones are old-timey now too?)
My goal for today is to make my own table with a third column so I can write out d-expressions and their equivalent m and s expressions. I'm going to do it with pen and paper because I am old.
After that I'll add some code to my interpreter which detects and translates maid expressions and spell expressions to dragon expressions before then translating the dragon expression into intermediate code. This likely will not be a tremendous amount of effort if I commit to doing it now rather than treating it as an afterthought later. It would also make my ideas much more interoperable with the ideas the MITs had.
No, JavaScript is a better version of LISP, Go is a better version of C.
Jeremiah Jackson
>avatarfagging At least trip so I can filter your rambling.
Isaac Baker
Artist ?
Henry Sanders
jinu
Michael Brooks
I think coffee might be good in helping you boost productivity, but I wouldn't recommend drinking any after 11:00 AM, as it might disrupt your sleep schedule past that point.
If you want to declare a function you can do this:
foo(bar, baz): *bar " " *baz;
That would just concatenate whatever was passed as bar, a space and then whatever was passed in as baz. Local variables have to start with *. I did that to avoid collisions. *bar is a local identifier called bar. If there is a global identifier called "bar" and they can differ and both be used in the same expression.
To declare and call a function you could do this. start: foo("Good", "morning"); foo(bar, baz): *bar " " *baz "!";
That would produce >Good morning!
If you want the same thing but anonymous it's this:
I want to see if I can construct my own compiler and LISP machine. I want to try to make LISP hardware acceleration with an FPGA too, but I have a lot of work to go before I get to that part though.