File tree Expand file tree Collapse file tree 8 files changed +951
-29
lines changed Expand file tree Collapse file tree 8 files changed +951
-29
lines changed Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ implement meow deinit
1515end
1616
1717let meow myMeow
18- myMeow @ printdec new_line
18+ & myMeow @ printdec new_line
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ func sierpinski begin
2020
2121 0 -> x
2222
23- while x n < do
23+ while x n 2 / < do
2424 if x n y 1 + - and then
2525 ' ' printch
2626 else
Original file line number Diff line number Diff line change 1010
1111let MyUnion foo
1212
13- 65 -> foo
13+ 65 & foo !
1414&foo @ printdec new_line
1515
16- "Hello, world!\n" foo a<
17- foo printstr
16+ "Hello, world!\n" & foo a<
17+ & foo printstr
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import callisto.compiler;
1010import callisto.language;
1111import callisto.codeRemover;
1212import callisto.preprocessor;
13+ import callisto.backends.lua;
1314import callisto.backends.uxn;
1415import callisto.backends.rm86;
1516import callisto.backends.x86_64;
@@ -163,6 +164,11 @@ int main(string[] args) {
163164 backend = new BackendUXN();
164165 break ;
165166 }
167+ case " lua" : {
168+ writeln(" Language subset 'CallistoScript' in use" );
169+ backend = new BackendLua();
170+ break ;
171+ }
166172 default : {
167173 stderr.writefln(" Unknown backend '%s'" , args[i]);
168174 return 1 ;
You can’t perform that action at this time.
0 commit comments