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
3354a03dd494da790df6b25e5900eae2d84f77fe
kraken/tests/test_nosemicolon.krak

10 lines
138 B
Plaintext
Raw Normal View History

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
import io:*
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: 28ms 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