Commit Graph

132 Commits

Author SHA1 Message Date
Maxim Shafirov a03922d467 Copyrights set to Apache, reflecting it's now open source 2012-02-14 19:25:06 +04:00
Andrey Breslav 90b98a63b5 KT-1130 Remove ref from keywords 2012-01-25 13:12:42 +04:00
Andrey Breslav 3b0ca42e0b jet.typeinfo.TypeInfo -> jet.TypeInfo 2011-12-26 18:59:48 +04:00
Andrey Breslav 41fd43b5e5 GreatSyntacticShift: Syntax for function types, function literals, when and tuples
Bug:
fun loop(var times : Int) {
   while(times > 0) {
        val u : (value : Int) -> Unit = { // This arrow is confusing the lookahead
            System.out?.println(it)
        }
        u(times--)
   }
}
2011-12-20 22:55:25 +04:00
Andrey Breslav 55c11d0f44 KT-847 Allow "this" without {} in string templates 2011-12-16 13:10:06 +04:00
Nikolay Krasko 84cb0a179a KT-622 Add when without condition. (Only changes for parsing were added. A special task for semantic level is KT-657) 2011-11-29 12:48:08 +04:00
Nikolay Krasko c09e9368e8 KT-621 Remove .foo() pattern matching from when (Rename method and correct grammar) 2011-11-28 15:29:01 +04:00
Andrey Breslav b905568147 KT-339 Allow to omit Unit return type from function types 2011-10-21 21:51:17 +04:00
Andrey Breslav 79ee5cd606 KT-156 Fix the this<Super> syntax
In progress: super<List> must work, but currently it does not, only super<List<Foo>> works, where Foo is ignored.
2011-10-19 19:24:46 +04:00
Andrey Breslav 443c342725 Java dependencies untangled from AnalyzingUtils 2011-09-09 21:33:38 +04:00
Andrey Breslav 16dcbd41cb "trait" instead of "trait class"
virtual -> open
 "final" introduced
 "wraps" dropped
2011-09-09 16:16:05 +04:00
Andrey Breslav a2b779fcd0 Migrating BindingTraceContext to a transactional form 2011-08-17 21:21:44 +04:00
Andrey Breslav 4c8aec3b1b Compile-time constants 2011-08-03 14:05:07 +04:00
Andrey Breslav e397f880d7 Typos 2011-07-27 10:10:47 -07:00
Andrey Breslav 9cf7a21a3d "Jet" removed from grammar 2011-07-14 18:42:22 +04:00
Andrey Breslav 3ead58dc78 Short annotations supported in parser for toplevel declarations
Error recovery tests fail
2011-07-13 23:22:50 +04:00
Andrey Breslav 79066eefe1 Up -> Kotlin 2011-07-11 17:56:51 +04:00
Andrey Breslav 4127228a29 Modifiers level fixed 2011-07-10 18:00:54 +04:00
Andrey Breslav c2435f0f24 JET-126 Put 'where'-clause after the declaration 2011-07-08 22:44:56 +04:00
Andrey Breslav addfc6a421 JET-177 Drop extensions 2011-07-08 22:05:14 +04:00
Andrey Breslav d4020a422b JET-180 Rename typeof to typeinfo, type or make it a function 2011-07-08 20:27:59 +04:00
Andrey Breslav 0af118c5be Small cosmetics 2011-07-08 15:41:32 +04:00
Andrey Breslav 704f153a31 JET-174 Make continue work the same way in all contexts inside when
Guards are removed. Continue is not supported yet.
2011-07-07 17:18:29 +04:00
Andrey Breslav 900143af5b JET-172 Allow many parameters of a function literals to be declared without parentheses 2011-07-06 20:21:22 +04:00
Andrey Breslav e0d597a1bc JET-140 Change function type syntax
and tests for
JET-168 Improve the parser for function and tuple types as receiver types
2011-07-06 18:18:11 +04:00
Andrey Breslav b19ad2ccb8 IO added to Library.jet
Header level changed in control.grm
2011-07-05 10:21:45 +04:00
Andrey Breslav 96cd0d1ae2 Small fix in nullablilty handling 2011-07-04 14:34:04 +04:00
Andrey Breslav 9600afa1e0 A note on semicolons 2011-06-29 18:29:53 +04:00
Andrey Breslav c5901962c2 Comments 2011-06-29 17:08:54 +04:00
Andrey Breslav e3b36bf5a4 More comments in the grammar
"used by" navigation
2011-06-28 21:05:09 +04:00
Andrey Breslav 8c64490700 Unused symbols fixed 2011-06-28 19:44:49 +04:00
Andrey Breslav cb18d1d5c8 Precedence table 2011-06-28 19:36:32 +04:00
Andrey Breslav c65d59c1c1 Rendering the grammar for Confluence 2011-06-28 19:12:26 +04:00
Andrey Breslav c2fbbff782 JET-50 Drop the 'new' keyword 2011-06-15 18:00:22 +04:00
Andrey Breslav 4204db9cb0 JET-84 Support generic parameter constraints for class objects
Done for classes only, not for functions
2011-06-05 01:05:55 +04:00
Andrey Breslav 4884af389f JET-61 Support class objects 2011-06-03 18:37:47 +04:00
Andrey Breslav efd417e043 Parsing object declarations 2011-06-02 18:44:56 +04:00
Andrey Breslav 5989fb2bc3 JET-47 Require a ':' in object literals 2011-05-24 22:31:21 +04:00
Andrey Breslav 891aebf3bc Basic support for when() expressions 2011-05-17 22:33:39 +04:00
Andrey Breslav 64a8da3296 JET-14 Support anonymous initializers 2011-04-26 18:13:16 +04:00
Andrey Breslav d4551a61bf Declarations are not parsed as expressions any more (JET-1) 2011-04-25 20:32:12 +04:00
Andrey Breslav 43742828c4 Multiple declarations contributing to the same namespace are supported 2011-04-25 18:54:18 +04:00
Andrey Breslav 78f3eac62a Property accessors checked. Many things TBD 2011-04-18 22:54:46 +04:00
Andrey Breslav 85f0c03708 Safe casts supported 2011-04-08 15:52:13 +04:00
Andrey Breslav badf79aee5 Closure parameters for constructor invocations 2011-03-25 16:07:07 +03:00
Andrey Breslav b51653fe74 Primary constructor parameters supproted properly 2011-03-24 19:50:44 +03:00
Andrey Breslav 7601e71571 Working on error messages for overload resolution 2011-03-21 20:12:53 +03:00
Andrey Breslav 28e16cc214 Parenthesis are mandatory after a constructor call (due to problems with 'new Foo?isValid()') 2011-03-17 11:51:28 +03:00
Andrey Breslav f71d2584e6 Import syntax fixed 2011-03-05 17:04:20 +03:00
Andrey Breslav bfe22843ce Labels 2011-02-24 16:01:51 +03:00