; insert newLISP code for preload here (set (global 'display-html) (fn (x y) (replace {\} x {\\}) (replace "\n" x "\\n") (replace {'} x {\'}) (replace {"} x {\"}) (eval-string-js (if (true? y) (string {displayHTMLnew('} x {')}) (string {displayHTML('} x {')}))))) ; eof
Downloading...
; Welcome to newLISP running in a browser. ; based on newLISP v10.6.3 2015-05-14, Emscripten v1.29.0 ; best used with FireFox browser ; Click [eval] (println "Hello World") (define (double x) (+ x x)) (println "=> " (double 123)) ; [eval] shows all the return values from ; evaluated expressions plus the effect from ; 'println'. Now click [silent]. It only shows ; the effect from the 'println' expression. ; To find out more about how to use this ; editor, click the [info] button. ; The best introduction to newLISP can be found ; here: ; en.wikibooks.org/wiki/Introduction_to_newLISP ; ; More documentation can be found here: ; www.newlisp.org/index.cgi?Documentation ; or by clicking the [doc] button.
Copyright © 2014-2015, newlisp.org