You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,10 @@ for a interpreted language.
29
29
30
30
See [FeatureTest](src/test/kotlin/org/lice/FeatureTest.kt) to learn more about the language's features.
31
31
32
+
Also, as the main repo for the Lice language, this repo will not be updated very frequently.
33
+
Instead, I do language feature experiments in [The tiny version of Lice](https://github.com/lice-lang/lice-tiny), which is more actively updated and not guarenteed be backward capable.
34
+
Once a feature is finished and tested, and not considered harmful, I'll copy the codes here and publish releases.
35
+
32
36
## It looks like
33
37
34
38
```lisp
@@ -120,7 +124,13 @@ Lice has handy APIs for interacting with Java.
120
124
This project provides handy APIs for running Lice codes from Java.
121
125
122
126
```java
127
+
// Running Lice
123
128
System.out.println(Lice.run("(+ 1 1)")); // prints 2
124
-
125
129
System.out.println(Lice.run(newFile("example.lice"))); // run codes in a file
130
+
131
+
// Lice API
132
+
SymbolList env =newSymbolList();
133
+
Lice.run("(def blablabla a (+ a a)) (-> myVar 233)", env);
0 commit comments