Commit Graph

14 Commits

Author SHA1 Message Date
Ilya Chernikov 058ef31d7a Fixes after review 2018-01-30 17:06:16 +03:00
Ilya Chernikov 05f0978865 Fix after review 2018-01-30 17:06:14 +03:00
Ilya Chernikov 98204aa2d3 Move jflex download out from update_dependencies, add lexer (ant) tasks to frontend project 2018-01-30 17:06:11 +03:00
Mikhail Zarechenskiy c956428d96 Update JFlex to 1.7.0
Previous patched version (1.4.3) from Itellij was dropped. As we are using skeleton from Intellij, we should update our jflex version accordingly
2016-11-08 18:46:51 +03:00
Andrey Breslav 267ec2724e Minor. Ant task renamed: JetLexer -> KotlinLexer 2015-10-16 17:55:12 +03:00
Alexander Udalov ead8c8ac1d Rename jet -> kotlin in frontend: lexer, kdoc
org.jetbrains.jet.lexer -> org.jetbrains.kotlin.lexer
org.jetbrains.jet.kdoc -> org.jetbrains.kotlin.kdoc

Also rename Jet.flex -> Kotlin.flex
2015-01-10 15:52:12 +03:00
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