alists and plists now

This commit is contained in:
FelixBrendel
2019-07-05 01:26:00 +02:00
parent d576e7324f
commit e0aaf351c5
14 changed files with 646 additions and 106 deletions
+348 -64
View File
@@ -1,7 +1,7 @@
\hrule
* ===
- defined in :: =src/./built_ins.cpp:158:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:158:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -10,7 +10,7 @@ Takes 0 or more arguments and returns =t= if all arguments are equal and =()= ot
\hrule
* =>=
- defined in :: =src/./built_ins.cpp:175:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:175:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -19,7 +19,7 @@ TODO
\hrule
* =>==
- defined in :: =src/./built_ins.cpp:193:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:193:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -28,7 +28,7 @@ TODO
\hrule
* =<=
- defined in :: =src/./built_ins.cpp:211:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:211:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -37,7 +37,7 @@ TODO
\hrule
* =<==
- defined in :: =src/./built_ins.cpp:231:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:231:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -46,7 +46,7 @@ TODO
\hrule
* =+=
- defined in :: =src/./built_ins.cpp:249:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:249:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -55,7 +55,7 @@ TODO
\hrule
* =-=
- defined in :: =src/./built_ins.cpp:262:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:262:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -64,7 +64,7 @@ TODO
\hrule
* =*=
- defined in :: =src/./built_ins.cpp:285:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:285:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -73,7 +73,7 @@ TODO
\hrule
* =/=
- defined in :: =src/./built_ins.cpp:306:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:306:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -82,7 +82,7 @@ TODO
\hrule
* =**=
- defined in :: =src/./built_ins.cpp:327:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:327:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -91,7 +91,7 @@ TODO
\hrule
* =%=
- defined in :: =src/./built_ins.cpp:343:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:343:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -100,7 +100,7 @@ TODO
\hrule
* =assert=
- defined in :: =src/./built_ins.cpp:359:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:359:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -109,7 +109,7 @@ TODO
\hrule
* =define=
- defined in :: =src/./built_ins.cpp:371:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:371:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -118,7 +118,7 @@ TODO
\hrule
* =mutate=
- defined in :: =src/./built_ins.cpp:433:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:433:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -127,7 +127,7 @@ TODO
\hrule
* =if=
- defined in :: =src/./built_ins.cpp:458:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:458:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -136,7 +136,7 @@ TODO
\hrule
* =quote=
- defined in :: =src/./built_ins.cpp:480:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:478:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -145,7 +145,7 @@ TODO
\hrule
* =quasiquote=
- defined in :: =src/./built_ins.cpp:485:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:483:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -154,7 +154,7 @@ TODO
\hrule
* =and=
- defined in :: =src/./built_ins.cpp:583:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:581:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -163,7 +163,7 @@ TODO
\hrule
* =or=
- defined in :: =src/./built_ins.cpp:594:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:592:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -172,7 +172,7 @@ TODO
\hrule
* =not=
- defined in :: =src/./built_ins.cpp:605:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:603:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -181,7 +181,7 @@ TODO
\hrule
* =while=
- defined in :: =src/./built_ins.cpp:615:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:613:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -190,7 +190,7 @@ TODO
\hrule
* =lambda=
- defined in :: =src/./built_ins.cpp:693:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:691:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -199,7 +199,7 @@ TODO
\hrule
* =special-lambda=
- defined in :: =src/./built_ins.cpp:705:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:703:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -208,7 +208,7 @@ TODO
\hrule
* =eval=
- defined in :: =src/./built_ins.cpp:713:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:711:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -217,7 +217,7 @@ TODO
\hrule
* =begin=
- defined in :: =src/./built_ins.cpp:725:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:723:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -226,7 +226,7 @@ TODO
\hrule
* =list=
- defined in :: =src/./built_ins.cpp:741:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:739:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -235,7 +235,7 @@ TODO
\hrule
* =pair=
- defined in :: =src/./built_ins.cpp:745:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:743:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -244,7 +244,7 @@ TODO
\hrule
* =first=
- defined in :: =src/./built_ins.cpp:755:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:753:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -253,7 +253,7 @@ TODO
\hrule
* =rest=
- defined in :: =src/./built_ins.cpp:766:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:764:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -262,7 +262,7 @@ TODO
\hrule
* =set-type=
- defined in :: =src/./built_ins.cpp:777:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:775:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -271,7 +271,7 @@ TODO
\hrule
* =delete-type=
- defined in :: =src/./built_ins.cpp:789:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:787:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -280,7 +280,7 @@ TODO
\hrule
* =type=
- defined in :: =src/./built_ins.cpp:796:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:794:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -289,7 +289,7 @@ TODO
\hrule
* =info=
- defined in :: =src/./built_ins.cpp:828:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:826:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -298,7 +298,7 @@ TODO
\hrule
* =show=
- defined in :: =src/./built_ins.cpp:910:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:908:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -307,7 +307,7 @@ TODO
\hrule
* =addr-of=
- defined in :: =src/./built_ins.cpp:922:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:920:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -316,7 +316,7 @@ TODO
\hrule
* =generate-docs=
- defined in :: =src/./built_ins.cpp:928:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:926:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -325,7 +325,7 @@ TODO
\hrule
* =print=
- defined in :: =src/./built_ins.cpp:937:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:935:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -334,7 +334,7 @@ TODO
\hrule
* =read=
- defined in :: =src/./built_ins.cpp:945:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:943:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -343,7 +343,7 @@ TODO
\hrule
* =exit=
- defined in :: =src/./built_ins.cpp:962:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:960:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -352,7 +352,7 @@ TODO
\hrule
* =break=
- defined in :: =src/./built_ins.cpp:973:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:971:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -361,7 +361,7 @@ TODO
\hrule
* =memstat=
- defined in :: =src/./built_ins.cpp:978:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:976:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -370,7 +370,7 @@ TODO
\hrule
* =try=
- defined in :: =src/./built_ins.cpp:982:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:980:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -379,7 +379,7 @@ TODO
\hrule
* =load=
- defined in :: =src/./built_ins.cpp:997:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:995:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -388,7 +388,7 @@ TODO
\hrule
* =import=
- defined in :: =src/./built_ins.cpp:1008:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:1006:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -397,7 +397,7 @@ TODO
\hrule
* =copy=
- defined in :: =src/./built_ins.cpp:1019:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:1017:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -406,7 +406,7 @@ TODO
\hrule
* =error=
- defined in :: =src/./built_ins.cpp:1027:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:1025:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -415,7 +415,7 @@ TODO
\hrule
* =symbol->keyword=
- defined in :: =src/./built_ins.cpp:1034:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:1032:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -424,7 +424,7 @@ TODO
\hrule
* =string->symbol=
- defined in :: =src/./built_ins.cpp:1043:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:1041:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -433,7 +433,7 @@ TODO
\hrule
* =symbol->string=
- defined in :: =src/./built_ins.cpp:1055:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:1053:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -442,7 +442,7 @@ TODO
\hrule
* =concat-strings=
- defined in :: =src/./built_ins.cpp:1064:0=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:1062:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
@@ -459,7 +459,7 @@ TODO
\hrule
* =when=
- defined in :: =pre.slime:21:37=
- defined in :: =pre.slime:21:41=
- type :: =:macro=
- arguments :: :
- postitional :: =condition=:
@@ -517,15 +517,24 @@ Executes action times times.
\hrule
* =cond=
- defined in :: =pre.slime:66:19=
- defined in :: =pre.slime:66:17=
- type :: =:macro=
- arguments :: :
- rest :: =clauses=
- docu :: none
\hrule
* =case=
- defined in :: =pre.slime:81:17=
- type :: =:macro=
- arguments :: :
- postitional :: =var=:
- rest :: =clauses=
- docu :: none
\hrule
* =define-special=
- defined in :: =pre.slime:69:81=
- defined in :: =pre.slime:84:81=
- type :: =:macro=
- arguments :: :
- postitional :: =name-and-args=:
@@ -534,7 +543,7 @@ Executes action times times.
\hrule
* =construct-list=
- defined in :: =pre.slime:110:14=
- defined in :: =pre.slime:125:14=
- type :: =:macro=
- arguments :: :
- rest :: =body=
@@ -561,25 +570,41 @@ Executes action times times.
\hrule
* =apply=
- defined in :: =pre.slime:115:28=
- defined in :: =pre.slime:130:28=
- type :: =:macro=
- arguments :: :
- postitional :: =fun=, =seq=
- docu ::
#+BEGIN:
Applies the funciton to the sequence, as in calls the function with
Applies the function to the sequence, as in calls the function with
ithe sequence as arguemens.
#+END:
\hrule
* =define-typed=
- defined in :: =pre.slime:142:16=
- type :: =:macro=
- arguments :: :
- postitional :: =args=:
- rest :: =body=
- docu :: none
\hrule
* =define-package=
- defined in :: =pre.slime:129:24=
- defined in :: =pre.slime:158:24=
- type :: =:macro=
- arguments :: :
- postitional :: =name=:
- rest :: =body=
- docu :: none
\hrule
* =ttt=
- type :: =:lambda=
- arguments :: :
- postitional :: =a=, =b=
- docu :: none
\hrule
* =null?=
- type :: =:lambda=
@@ -590,6 +615,30 @@ ithe sequence as arguemens.
Checks if the argument is =nil=.
#+END:
\hrule
* =type=?=
- type :: =:lambda=
- arguments :: :
- postitional :: =obj=, =typ=
- docu ::
#+BEGIN:
Checks if the argument =obj= is of type =typ=
#+END:
\hrule
* =types=?=
- type :: =:lambda=
- arguments :: :
- rest :: =objs=
- docu :: none
\hrule
* =assert-types==
- type :: =:lambda=
- arguments :: :
- rest :: =objs=
- docu :: none
\hrule
* =number?=
- type :: =:lambda=
@@ -762,6 +811,13 @@ with (pair elem nil).
Returns the length of the given sequence.
#+END:
\hrule
* =member?=
- type :: =:lambda=
- arguments :: :
- postitional :: =elem=, =seq=
- docu :: none
\hrule
* =sublist-starting-at-index=
- type :: =:lambda=
@@ -905,9 +961,237 @@ the printed separators (=sep=) between the arguments and what should
be printed after the last argument (=end=).
#+END:
\hrule
* =key-not-found-index=
- defined in :: =d:\Code\Gitlab\slime\bin\alist.slime:28:31=
- type :: =:number=
- value :: =-1=
- docu :: none
\hrule
* =make-alist=
- type :: =:lambda=
- arguments :: none.
- docu :: none
\hrule
* =make-plist=
- type :: =:lambda=
- arguments :: none.
- docu :: none
\hrule
* =pprint-alist=
- type :: =:lambda=
- arguments :: :
- postitional :: =alist=
- docu :: none
\hrule
* =pprint-plist=
- type :: =:lambda=
- arguments :: :
- postitional :: =plist=
- docu :: none
\hrule
* =alist-get=
- type :: =:lambda=
- arguments :: :
- postitional :: =alist=, =key=
- docu :: none
\hrule
* =alist-find=
- type :: =:lambda=
- arguments :: :
- postitional :: =alist=, =key=
- docu :: none
\hrule
* =alist-key-exists?=
- type :: =:lambda=
- arguments :: :
- postitional :: =alist=, =key=
- docu :: none
\hrule
* =alist-remove!=
- type :: =:lambda=
- arguments :: :
- postitional :: =alist=, =key=
- docu :: none
\hrule
* =alist-set!=
- type :: =:lambda=
- arguments :: :
- postitional :: =alist=, =key=, =value=
- docu :: none
\hrule
* =alist-set-overwrite!=
- type :: =:lambda=
- arguments :: :
- postitional :: =alist=, =key=, =value=
- docu :: none
\hrule
* =plist-get=
- type :: =:lambda=
- arguments :: :
- postitional :: =plist=, =prop=
- docu :: none
\hrule
* =plist-set!=
- type :: =:lambda=
- arguments :: :
- postitional :: =plist=, =prop=, =value=
- docu :: none
\hrule
* =plist-set-overwrite!=
- type :: =:lambda=
- arguments :: :
- postitional :: =plist=, =prop=, =value=
- docu :: none
\hrule
* =plist-find=
- type :: =:lambda=
- arguments :: :
- postitional :: =plist=, =prop=
- docu :: none
\hrule
* =plist-prop-exists?=
- type :: =:lambda=
- arguments :: :
- postitional :: =plist=, =prop=
- docu :: none
\hrule
* =plist-remove!=
- type :: =:lambda=
- arguments :: :
- postitional :: =plist=, =prop=
- docu :: none
\hrule
* =cons=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:743:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
TODO
#+END:
\hrule
* =car=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:753:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
TODO
#+END:
\hrule
* =cdr=
- defined in :: =d:\code\gitlab\slime\src\./built_ins.cpp:764:0=
- type :: =:cfunction=
- docu ::
#+BEGIN:
TODO
#+END:
\hrule
* =caar=
- type :: =:lambda=
- arguments :: :
- postitional :: =seq=
- docu :: none
\hrule
* =cddr=
- type :: =:lambda=
- arguments :: :
- postitional :: =seq=
- docu :: none
\hrule
* =cadr=
- type :: =:lambda=
- arguments :: :
- postitional :: =seq=
- docu :: none
\hrule
* =cdar=
- type :: =:lambda=
- arguments :: :
- postitional :: =seq=
- docu :: none
\hrule
* =caaar=
- type :: =:lambda=
- arguments :: :
- postitional :: =seq=
- docu :: none
\hrule
* =caadr=
- type :: =:lambda=
- arguments :: :
- postitional :: =seq=
- docu :: none
\hrule
* =cadar=
- type :: =:lambda=
- arguments :: :
- postitional :: =seq=
- docu :: none
\hrule
* =caddr=
- type :: =:lambda=
- arguments :: :
- postitional :: =seq=
- docu :: none
\hrule
* =cdaar=
- type :: =:lambda=
- arguments :: :
- postitional :: =seq=
- docu :: none
\hrule
* =cdadr=
- type :: =:lambda=
- arguments :: :
- postitional :: =seq=
- docu :: none
\hrule
* =cddar=
- type :: =:lambda=
- arguments :: :
- postitional :: =seq=
- docu :: none
\hrule
* =cdddr=
- type :: =:lambda=
- arguments :: :
- postitional :: =seq=
- docu :: none
\hrule
* =define-class=
- defined in :: =oo.slime:22:22=
- defined in :: =d:\Code\Gitlab\slime\bin\oo.slime:22:22=
- type :: =:macro=
- arguments :: :
- postitional :: =name-and-members=:
@@ -919,7 +1203,7 @@ Macro for creating simple classes.
\hrule
* =->=
- defined in :: =oo.slime:25:24=
- defined in :: =d:\Code\Gitlab\slime\bin\oo.slime:25:24=
- type :: =:macro=
- arguments :: :
- postitional :: =obj=, =meth=:
@@ -935,7 +1219,7 @@ Macro for creating simple classes.
\hrule
* =math-> pi=
- defined in :: =math.slime:5:4=
- defined in :: =d:\Code\Gitlab\slime\bin\math.slime:5:4=
- type :: =:number=
- value :: =3.141593=
- docu ::
@@ -945,7 +1229,7 @@ Tha famous circle constant.
\hrule
* =math-> abs=
- defined in :: =math.slime:9:4=
- defined in :: =d:\Code\Gitlab\slime\bin\math.slime:9:4=
- type :: =:lambda=
- arguments :: :
- postitional :: =x=
@@ -956,7 +1240,7 @@ Accepts one argument and returns the absoulte value of it
\hrule
* =math-> sqrt=
- defined in :: =math.slime:13:4=
- defined in :: =d:\Code\Gitlab\slime\bin\math.slime:13:4=
- type :: =:lambda=
- arguments :: :
- postitional :: =x=
@@ -978,7 +1262,7 @@ This is the handle to an object of the class vector3
\hrule
* =math-> make-vector3 define-class=
- defined in :: =oo.slime:22:22=
- defined in :: =d:\Code\Gitlab\slime\bin\oo.slime:22:22=
- type :: =:macro=
- arguments :: :
- postitional :: =name-and-members=:
@@ -990,7 +1274,7 @@ Macro for creating simple classes.
\hrule
* =math-> make-vector3 ->=
- defined in :: =oo.slime:25:24=
- defined in :: =d:\Code\Gitlab\slime\bin\oo.slime:25:24=
- type :: =:macro=
- arguments :: :
- postitional :: =obj=, =meth=: