1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-30 07:03:02 +00:00

Add wrapping functions for easy conversion between c api and

internal values.
This commit is contained in:
Calvin Rose
2017-04-17 18:46:28 -04:00
parent f52e290206
commit 6e71984fc5
11 changed files with 135 additions and 93 deletions

View File

@@ -1,6 +1,2 @@
(: f (fn [x] (strcat (tostring x) "-abumba")))
(print 1)
(: i 100)
(while (> i 0) (print i) (: i (- i 1)))
(print (strcat (tostring (+ 1 2 3)) 'a 'b (f 'c)))