Commit Graph

5 Commits

Author SHA1 Message Date
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