Skip to content

Instantly share code, notes, and snippets.

@kosh04
Created April 10, 2010 17:57
Show Gist options
  • Save kosh04/362201 to your computer and use it in GitHub Desktop.
Save kosh04/362201 to your computer and use it in GitHub Desktop.
;; newLISP v.10.1.12 on Linux IPv4 UTF-8, execute 'newlisp -h' for more info.
;;; *** Load from Network
;;
;; (context 'Foo)
;; (load "http://gist.github.com/362201.txt")
;; (println "Context: " (context))
;; -> Context: MAIN
;;; *** Load from Filesystem
;;
;; (write-file "/tmp/test.lsp" (get-url "http://gist.github.com/362201.txt"))
;; (context 'Foo)
;; (load "/tmp/test.lsp")
;; (println "Context: " (context))
;; -> Context: Foo
(context 'MAIN)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment