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
40c3e428c16fd637eeae26e4f943a9098128b9e7
kraken/tests/test_nosemicolon.krak

10 lines
148 B
Plaintext
Raw Normal View History

Port many tests and fix small bugs revealed in Kalypso (passes 24/72) - tests have also revealed more extensive features not yet implemented, and I seem to have messed up a test or two so that the C++ version also fails a couple more (it's at 59/71 now). Will investigate
2016-02-07 16:22:55 -05:00
import simple_print:*
Added initial support for omitting semicolons! (the parser can now interpret either semicolons or linebreaks as the end of statements, but it can still interpret line breaks as white space too, so multi line statements still work.) You will need semicolons to break up multiple statements on the same line, however
2015-03-22 22:43:33 -04:00
Wooo! Fixed up remaining bugs in new syntax!
2015-05-09 06:24:56 -04:00
fun main(): int {
Added initial support for omitting semicolons! (the parser can now interpret either semicolons or linebreaks as the end of statements, but it can still interpret line breaks as white space too, so multi line statements still work.) You will need semicolons to break up multiple statements on the same line, however
2015-03-22 22:43:33 -04:00
println("no semicolons!")
if (1 < 2) println("still no!")
println("and again")
return 0
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 49ms 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