Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

LispCraft

Name: Anonymous 2011-04-09 5:21

Hi, all. I finally completed Warcraft 2 implementation in LISP.
http://img859.imageshack.us/i/52320836.png/

Took me a few months, though, but mostly because I was too lazy and my DSL is still pretty buggy, has poor debugging support and long compilation times (takes about 30 seconds to reload source file). Anyway, this proves, that writing a game in Lisp is relatively easy, even for a single person.

Name: Anonymous 2013-03-19 8:26

>>81
No. Reader reads <...> as simple ("<>" (...)) and if `>` is missing, it would be a read-time error. Of course macro can treat this ("<>" (...))

>>86
Symta does have lexical scoping, but I also use it to implement OOP. X and Y in (X:1 | Y:2 | X+Y) or (X:1 | Y:2 | sum = X+Y) wont be seen outside of (...), but in case of `sum = X+Y`, (...) gives closure with method `sum`. This provides encapsulation. Packages are implemented the same way, just to make reasoning about them easier (I was confused by Common Lisp's eval-when mess).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List