LispInSmallPieces/chapter3/test.coffee

7 lines
220 B
CoffeeScript
Raw Normal View History

{cons} = require "cons-lists/lists"
lisp = require '../chapter3/interpreter'
{read, readForms} = require '../chapter1/reader'
{inspect} = require 'util'
lisp read('(begin ((lambda () (+ 5 5))))'), (x) -> console.log(x)