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

15 lines
218 B
Plaintext
Raw Normal View History

more work on the ast_transformation
2015-12-28 03:34:40 -05:00
import to_import: 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
}
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