aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--commands.txt80
-rw-r--r--docs.neb1
2 files changed, 81 insertions, 0 deletions
diff --git a/commands.txt b/commands.txt
new file mode 100644
index 0000000..a9809ca
--- /dev/null
+++ b/commands.txt
@@ -0,0 +1,80 @@
+($ command :string) => :list
+(and arg :bool arg :bool & :bool) => :bool
+(any? arg :any) => :bool
+(append list :list item :any) => :list
+(apply func :any list :list) => :any
+(argv) => :list
+(assert cond :bool) => :list
+(block expr :any & :any) => :any
+(bool? arg :any) => :bool
+(branch body :any & :any) => :any
+(clear) => :list
+(concat arg :string arg :string & :string) => :string
+(def name :any value :any) => :list
+(empty? list :list) => :bool
+(eq? value :literal value :literal) => :bool
+(eval arg :any) => :any
+(exists? filename :string) => :bool
+(exit status :int) => :list
+(/ factor :number factor :number) => :number
+(* factor :number factor :number & :number) => :number
+(filter func :any list :list) => :list
+(first arg :list) => :any
+(first-char string :string) => :string
+(float? arg :any) => :bool
+(floor floor :number) => :int
+(for-count count :int body :any & :any) => :any
+(for-each list :list body :any & :any) => :any
+(func name :any args :any body :any & :any) => :list
+(funcs) => :list
+(glob regex :string) => :string
+(howto symbol :any) => :list
+(if cond :bool t-branch :any f-branch :any) => :any
+(int? arg :any) => :bool
+(in? target :literal list :list) => :bool
+(join list :list joiner :string) => :string
+(lambda args :any body :any & :any) => :any
+(last list :list) => :any
+(list & :any) => :list
+(list? arg :any) => :bool
+(list-length arg :list) => :int
+(list-reverse list :list) => :list
+(literal? arg :any) => :bool
+(map func :any list :list) => :list
+(not not :bool) => :bool
+(number? arg :any) => :bool
+(< num :number num :number) => :bool
+(<= num :number num :number) => :bool
+(> num :number num :number) => :bool
+(>= num :number num :number) => :bool
+(or arg :bool arg :bool & :bool) => :bool
+(print arg :string) => :list
+(quote arg :any) => :any
+(read-char) => :string
+(read-line prompt :string) => :string
+(read-lines filename :string) => :list
+(redef name :any value :any) => :list
+(remove list :list key :any) => :list
+(rest arg :list) => :list
+(rest-char string :string) => :string
+(shuf list :list) => :list
+(slice list :list idx :int length :int) => :list
+(sort-numbers list :list) => :list
+(split target :string & :string) => :list
+(string? arg :any) => :bool
+(->string arg :any) => :string
+(string->int arg :string) => :int
+(strip filename :string) => :string
+(symbols) => :list
+(+ term :number & :number) => :number
+(- term :number & :number) => :number
+(type name :any name :any func :any) => :any
+(typeof candidate :any) => :any
+(unlink filename :string) => :list
+(use-as filename :string namespace :any) => :list
+(use filename :string) => :list
+(user-symbols) => :list
+(while cond :bool & :any) => :any
+(with-write filename :string & :any) => :any
+(write string :string filename :list) => :any
+(zip list :list list :list) => :list
diff --git a/docs.neb b/docs.neb
new file mode 100644
index 0000000..a057224
--- /dev/null
+++ b/docs.neb
@@ -0,0 +1 @@
+(for-each (funcs) (howto _item_))