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

14 lines
219 B
Plaintext
Raw Normal View History

Made a test_runner in Kraken to run the tests on Kalypso, and moved to_import.krak to simple_print.krak and ported one function over to use it instead, so that Kalypso testing can get started before implementing everything needed to use io.krak
2016-02-05 04:30:34 -05:00
import simple_print: *
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 {
Now computes closed_variables for each lambda, placeholder closure_struct type stuff.
2016-02-22 16:18:55 -05:00
var data = 7
var v: fun():int
v = fun(): int {
Plain lambdas implemented, but not fully tested. No closures yet
2016-02-21 17:22:16 -05:00
println(data)
return data
}
Now computes closed_variables for each lambda, placeholder closure_struct type stuff.
2016-02-22 16:18:55 -05:00
println(v())
Implemented function values when type inferenced (not explicit types or lambdas)
2016-02-20 21:02:41 -05:00
// println(print_and_return(7))
return 0
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
}
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: 497ms Template: 2ms
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