aboutsummaryrefslogtreecommitdiff
path: root/examples/interpreter.csx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/interpreter.csx')
-rw-r--r--examples/interpreter.csx36
1 files changed, 0 insertions, 36 deletions
diff --git a/examples/interpreter.csx b/examples/interpreter.csx
index 4632a24..2d87e81 100644
--- a/examples/interpreter.csx
+++ b/examples/interpreter.csx
@@ -207,40 +207,4 @@
[read [tail res]]
]]
-[output "-= CSX interpreter loaded =-" newline]
-[output "========= Base functions: ========================================" newline]
-[output "[set name value] | name will have the value value" newline]
-[output "[set? name] | check if name is set as some value" newline]
-[output "[sethead p v] | head of p will be changed to the v value" newline]
-[output "[settail p v] | head of p will be changed to the v value" newline]
-[output "[pair head tail] | creates pair of head and value" newline]
-[output "[head pair] | returns head of pair" newline]
-[output "[tail pair] | returns tail of pair" newline]
-[output "[quote x] | returns unevaluated x" newline]
-[output "[same a b] | checks if a and b are the same thing" newline]
-[output "[type x] | returns type of x" newline]
-[output "[do ...] | runs statements returning value of the last one" newline]
-[output "[fn args ...] | creates function" newline]
-[output " | you can make vararg function with pairs" newline]
-[output "[sx args ...] | same as fn but for macro" newline]
-[output "[if a b ... c] | executes b if a (for each a), else c" newline]
-[output "[+ ...] | sum of the arguments" newline]
-[output "[* ...] | product of the arguments" newline]
-[output "[neg a] | negate a" newline]
-[output "[div a b] | a / b" newline]
-[output "[mod a b] | a % b" newline]
-[output "[< ...] | checks if arguments are increasing" newline]
-[output "[> ...] | checks if arguments are decreasing" newline]
-[output "[out ch] | outputs character with ch code" newline]
-[output "[in] | null if input ended, else character code" newline]
-[output "[name str] | creates name from str string" newline]
-[output "[str obj] | creates str from name or list of codes" newline]
-[output "[len obj] | length of list or string" newline]
-[output "[run x] | runs the x expression" newline]
-[output "[run x context] | runs the x expression in given context" newline]
-[output " | returns pair of value and new context" newline]
-[output "[context] | returns current context" newline]
-[output "[newcontext] | returns new base context" newline]
-[output "==================================================================" newline]
-[output "Have a good time!" newline]
[read [newcontext]]