0.2.0 • Published 2 years ago

oolisp v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Oolisp

Web-based LISP interpreter

About

Syntax & Types:
number:
  • Numbers like we are all familiar with. (ie. 1, 1.1, 1.1e+13, 1.1e-13)
symbol:
  • Symbols are names that can be assigned to any value. (ie. add, def, fun, some-var)
  • usage: def [symbol-name] value
string:
  • Strings are characters delimited by double quotes. (ie. "c'ect ci nest pa un pipe?", "hg king")
s-expression:
  • S-Expressions are used to call and evaluate functions. (ie. (+ 1 2 3), (- (+ 9 1) (* 5 2)), (list 1 2 3 4), (== [] []))
  • usage: (function arg0 arg1 arg2)
q-expression:
  • Q-Expressions are lists of values, remains unevaluated. (ie. [1 1 1 1], [+ 9 (== [] [])]) usage: [elem0 elem1 elem2]
lambda:
  • Lambda functions are how you build functions, can be partially applied. (ie. (\ [a b] [+ a b])) usage: (\ [arg-list] [body])

Strongly influenced by

0.2.0

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago