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
91bc03ccb822ab316e63d3b3721dfcd50fde866f
kraken/tests/test_nosemicolon.krak

10 lines
138 B
Plaintext
Raw Normal View History

Some bugfixes/added errors, convert most to not use simple_passthrough
2016-04-30 15:38:28 -04:00
import io:*
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: 7ms
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