资 源 简 介
Simple LISP Dialect for Teaching (SLDT) is an example LISP language for use in education. SLDT is the successor of the original Less Silly Reverse Polish LISP (LSRPL) example language, which is now obsolete. SLDT is freely available under an MIT-style license.
Features
Multiple step-by-step component presentation, with a scanner, parser, type checker, interpreter, and code generator
Each component supports independent debugging and tracing
Support for both file-based and interactive operation using each component
Simple integer-only LISP dialect with regular parentheses and basic arithmetic and relational operators
Stack machine interpreter executes SLDT code directly
Components track and report source file line numbers for most errors
Code generator produces Jasmin code for assembly into Java classes
Python implementation for ease of reading
System Requirements
Linux, Solaris,
文 件 列 表
sldt-1.1
Makefile.parser
type_checker.py
shared_config.py
CHANGES
tests
jasmin-2.3
treeprinter.py
code_generator.py
Makefile.scanner
regression_test
parser.py
compiler_test
Makefile.regression
README
Makefile.typechecker
doc
Makefile
interpreter.py
Makefile.interpreter
COPYING
symbol_table.py
scanner.py
stack_model.py
Makefile.generator