Commit Graph

8 Commits

Author SHA1 Message Date
Andrey Breslav e50eb73fb1 Throw exceptions (not errors) from lexer
+ Add more data to the exception message
2014-05-27 18:17:46 +04:00
Evgeny Gerashchenko 859b0b845a Obtaining jflex from github. No IDEA checkout is necessary anymore. 2013-09-17 18:09:59 +04:00
Sergey Rostov 5ff1f746d4 KT-1545, KT-3161 KDoc lexer & parser 2013-05-28 13:05:28 +04:00
Andrey Breslav 0b33877144 Simplified SHEBANG comment detection
* %line & %column removed (zzCurrentPos used instead)
* jflex cmd arguments reverted
2012-05-29 11:41:54 +04:00
Stepan Koltsov 25f71bcd3a skip shebang in the first line
Something like this works now:

===
% PATH="./bin:$PATH" ./sum.ktscript 31 21
31 + 21 = 52

% cat sum.ktscript
#!/usr/bin/env kotlin -script

val a = Integer.parseInt(args[0])
val b = Integer.parseInt(args[1])
println("$a + $b = ${a + b}")
===
2012-05-28 22:59:03 +04:00
Andrey Breslav 3a73a96e06 KT-482 Support nested comments: comments nest properly, but strings are not accounted for inside comments
#KT-482 In progress
2012-03-21 15:52:58 +01:00
Andrey Breslav b973b596b8 KT-165 Make 'Select word' work correctly on ?. in a receiver type
Spliiting-Joining of complex tokens (?. and ?:) added
2011-09-14 11:37:21 +04:00
Andrey Breslav 116f35c650 "compiler" folder created 2011-09-09 21:47:22 +04:00