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
cb5b072b58244bef02ac2bd8e4c0e7a3239aab95
kraken/tests/to_parse.krak

19 lines
299 B
Plaintext
Raw Normal View History

Added function calls, printing out of pointers
2016-01-11 23:41:09 -05:00
import to_import: simple_print, a, b
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
More skeleton, including a trivial second_pass_function, fix a bug with ADTs that have members with the same name (may still be a problem if the ADT itself has the same name)
2016-01-05 21:40:00 -05:00
obj Something (ObjectTrait) {
var member: int
fun method():int {
return 5
}
}
Added in the beginnings of pass three which can parse and emit statements and code blocks
2016-01-07 02:52:22 -05:00
fun some_function(): int return 0;
fun some_other_function(in: bool): float {
return 0.0
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 main(): int {
simple_print("Hello World!")
return 0
}
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: 843ms 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