We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be1c5ec commit 0582458Copy full SHA for 0582458
example.lspy
@@ -0,0 +1,13 @@
1
+; This is a comment
2
+
3
+; This file and other Lispy scripts can be loaded into the interpreter.
4
+; for example:
5
+; go run prompt.go example.lspy
6
7
+(load "hello.lspy") ; Load another example script to print a greeting
8
9
+(print "Error example:")
10
+(if (== (+ 2 2) 5)
11
+ {print "five year plan in four years"}
12
+ {error "Arithmetic Nonsense"} ; Errors can also be displayed
13
+)
hello.lspy
@@ -0,0 +1 @@
+(print "Hello, world!")
0 commit comments