<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>lisp</title> <script src="lisp.js" type="text/javascript"></script> </head> <body> <script> // note the surrounding parentheses! // these are important and necessary (for now) const a = `( (print (concat "banana " "oatmeal " "waffels")) (def foo (+ 1 2)) (print foo) (def bar (+ (+ 3 3) 3)) (print bar) (fn bird (s t) (concat s t)) (print (bird "hello " "world")) )`; const ret = lisp.run(a); </script> </body> </html>