User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:minilisp [2006/04/04 20:13]
leonb
projects:minilisp [2016/02/17 09:56] (current)
leonb [MiniLisp]
Line 1: Line 1:
 ====== MiniLisp ====== ====== MiniLisp ======
  
-So many years working with [[lush|Lush]] have taken their toll.+{{lambda.jpg?150 }} 
 +Many years working with [[lush|Lush]] have taken their toll.
 There are many things I really dislike doing in C or C++  There are many things I really dislike doing in C or C++ 
 when I know how easy they would be in Lisp. when I know how easy they would be in Lisp.
 +The essential lisp data structure is called the S-Expression. 
 +S-Expressions can represent lots of complicated things 
 +using a simple printable format.  These are the main 
 +reason why many people find XML or JSON appealing.  
 +But I keep returning to S-Expression because they are so much simpler.
  
  
Line 59: Line 64:
 ===== MiniLisp ===== ===== MiniLisp =====
  
-During the development of ''miniexp.h'' and ''miniexp.cpp'' it+During the development of ''miniexp.h'' and ''miniexp.cpp''it
 appeared that the best way to test s-expressions was to make appeared that the best way to test s-expressions was to make
 the last step and program a complete lisp interpreter. the last step and program a complete lisp interpreter.
Line 92: Line 97:
 The interpreter is very slow because symbol lookup is not optimized. The interpreter is very slow because symbol lookup is not optimized.
 But it makes a nice example of using MiniExp. But it makes a nice example of using MiniExp.
 +===== Download =====
  
 +The most recent MiniExp source code is available from the DjVu Git repository.
  
 +  * [[http://sourceforge.net/p/djvu/djvulibre-git/ci/master/tree/libdjvu/miniexp.h|miniexp.h]]
 +  * [[http://sourceforge.net/p/djvu/djvulibre-git/ci/master/tree/libdjvu/miniexp.cpp|miniexp.cpp]]
  
 +The documentation is in file ''miniexp.h''
 +You can also check the MiniLisp source:
  
 +  * [[http://sourceforge.net/p/djvu/djvulibre-git/ci/master/tree/doc/minilisp/|minilisp (tree)]]
  
- 
- 
- 
- 
-===== Download ===== 
- 
-Both MiniExp and MiniLisp are available in the DjVu CVS repository. 
- 
-  * [[http://cvs.sourceforge.net/viewcvs.py/djvu/djvulibre-3.5/libdjvu/miniexp.h|miniexp.h]] 
-  * [[http://cvs.sourceforge.net/viewcvs.py/djvu/djvulibre-3.5/libdjvu/miniexp.h|miniexp.cpp]] 
-  * [[http://cvs.sourceforge.net/viewcvs.py/djvu/djvulibre-3.5/doc/minilisp|minilisp]] 
- 
-But it might be simpler to download the tarball here: {{minilisp-1.0.tar.gz}} 
projects/minilisp.1144196032.txt.gz · Last modified: 2006/05/17 11:28 (external edit)

Page Tools