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
785c6a6a8e632ce2e9bb34b22fe8a428dae92fbd
kraken/tests/to_import.krak

17 lines
292 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
Added indirection to types in prep for function calls, full passthrough, and the first real hello world
2016-01-10 18:26:31 -05:00
fun simple_print(to_print: *char) {
__if_comp__ __C__ simple_passthrough(to_print::) """
printf("%s", to_print);
"""
}
working towards function overloading, the emitted functions and function calls are now decorated and we're starting to get the prereqs for function lookup
2016-01-13 21:09:28 -05:00
fun simple_print(to_print: int) {
__if_comp__ __C__ simple_passthrough(to_print::) """
printf("%d", to_print);
"""
}
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: 47ms Template: 6ms
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