Logo
Explore Help
Sign In
miloignis/kraken
1
0
Fork 0
You've already forked kraken
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
16aa01a76e9152c59bd6e8e8e2370d12b66baf91
kraken/tests/to_import.krak

14 lines
210 B
Plaintext
Raw Normal View History

Fixed the parse bug. I think it's legal for the post-shift table check to be invalid and you have to account for that in the table
2015-12-26 01:52:29 +00:00
Move to individual transform functions, add skeleton for if_comp, simple_passthrough
2016-01-01 23:42:00 -05:00
__if_comp__ __C__ simple_passthrough """
#include <stdio.h>
We have a VERY SILL KRAKEN COMPILER\! simple_passthroughs are now emitted by the c_generator and test_compiler has been extended to write the C to a file and then call cc on it, so the self-hosted Kraken compiler can compile its very first thing\! (though that thing is a hello world C program written entirely in a simple_passthrough...
2016-01-04 02:00:06 -05:00
int main() {
printf("hello world! (of selfhosting! (silly selfhosting for now))\n");
return 0;
}
Move to individual transform functions, add skeleton for if_comp, simple_passthrough
2016-01-01 23:42:00 -05:00
"""
Fixed the parse bug. I think it's legal for the post-shift table check to be invalid and you have to account for that in the table
2015-12-26 01:52:29 +00:00
var a = 1
more work on the ast_transformation
2015-12-28 03:34:40 -05:00
var b = 2
Fixed the parse bug. I think it's legal for the post-shift table check to be invalid and you have to account for that in the table
2015-12-26 01:52:29 +00:00
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 28ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API