Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More tree refactorings. | Martin Odersky | 2013-05-22 | 24 | -783/+786 |
| | | | | | | | 1) Getting rid of ugen in favor of untpd. 2) Eliminating some unused methods 3) Splitting out CheckTrees from TypedTrees. 4) Moving trees and related classes into separate package dotc.ast | ||||
* | Added desugaring. | Martin Odersky | 2013-05-22 | 11 | -88/+506 |
| | | | | With various other small changes. | ||||
* | Fix to typechecking of Try nodes. | Martin Odersky | 2013-05-17 | 1 | -7/+4 |
| | |||||
* | Refactored Printing architecture. | Martin Odersky | 2013-05-17 | 23 | -572/+924 |
| | | | | | Split printers into several files. Added refined printing of trees. Changed Showable and generalized printing under a precedence. | ||||
* | Some fixes to parsers. | Martin Odersky | 2013-05-17 | 1 | -7/+11 |
| | |||||
* | New version of syntax-summary, with addition of string interpolators for ↵ | Martin Odersky | 2013-05-15 | 1 | -4/+8 |
| | | | | quasi-quotes. | ||||
* | Made precedence common between parsers and printers | Martin Odersky | 2013-05-14 | 3 | -28/+43 |
| | |||||
* | Refactored Printers, Showable and Text into new package dotc.printing. | Martin Odersky | 2013-05-14 | 14 | -25/+29 |
| | |||||
* | New parser tests | Martin Odersky | 2013-05-13 | 3 | -3/+72 |
| | | | | | | | | | | | | … which take some statistics. So far (on a Macbook pro): code base tested = scala/src + dotty/src lines: 290'000 nodes created: ~1'004'000 parse times + tree building times after 10 iterations: 700-750ms, i.e. ~ 400Klines/sec full transform of 1M nodes without tree copying: ~50ms full transform with full copying: 150-200ms | ||||
* | First tiny bit of statistics. | Martin Odersky | 2013-05-13 | 2 | -0/+13 |
| | |||||
* | Added conditional warning facility | Martin Odersky | 2013-05-13 | 5 | -14/+40 |
| | | | | …for deprecation, feature, unchecked. | ||||
* | new tests and worksheets | Martin Odersky | 2013-05-12 | 5 | -0/+113 |
| | |||||
* | Lots of fixes to parser | Martin Odersky | 2013-05-12 | 2 | -90/+178 |
| | | | | … and some to grammar. | ||||
* | Various fixes to trees. | Martin Odersky | 2013-05-12 | 4 | -24/+30 |
| | | | | | | | | Try now takes a tree as catch-part (instead of a sequence of CaseDefs, which has been replaced by Match(EmptyTree, cases)). Templates now take a DefDef as constructor. Added InterpolatedString as new untyped tree constructor. | ||||
* | Various fixes to token sets. | Martin Odersky | 2013-05-12 | 1 | -8/+8 |
| | |||||
* | Adding toString to Source positions. | Martin Odersky | 2013-05-12 | 1 | -1/+5 |
| | |||||
* | Various fixes to Scanners. | Martin Odersky | 2013-05-12 | 1 | -13/+22 |
| | | | | In particular: keyword handling, comments, numbers. | ||||
* | Fixes to tree printing | Martin Odersky | 2013-05-12 | 1 | -2/+3 |
| | | | | Now goes inside lists. Also prints positions. | ||||
* | Various fixes to Positions. | Martin Odersky | 2013-05-12 | 1 | -20/+42 |
| | |||||
* | Making Abstract a common flag. | Martin Odersky | 2013-05-12 | 1 | -18/+20 |
| | | | | Reason: When parsing abstract can be used for types as well as terms. For terms: in conjunction with override. | ||||
* | Early initialization of keywords to save space. | Martin Odersky | 2013-05-12 | 1 | -0/+4 |
| | |||||
* | Cleanup printing of positions. | Martin Odersky | 2013-05-12 | 1 | -3/+3 |
| | |||||
* | Refactored and augmented source positions. | Martin Odersky | 2013-05-10 | 8 | -36/+60 |
| | | | | Also Implemented ConsoleReporter formatting. | ||||
* | Added locator for untyped trees. | Martin Odersky | 2013-05-10 | 1 | -0/+13 |
| | |||||
* | Two small tweaks to parser | Martin Odersky | 2013-05-10 | 1 | -2/+4 |
| | |||||
* | Some parser revisions | Martin Odersky | 2013-05-09 | 7 | -655/+1469 |
| | | | | | | (1) Added markup parsers (2) Syntax change relating to modifiers and annotations of primary constructor (3) Review of parsing with bug fixes and simplifications. | ||||
* | Improvements in error handling of parser | Martin Odersky | 2013-05-08 | 3 | -147/+143 |
| | | | | Also some simplifications and eliminations of unused code. | ||||
* | Added a parser. | Martin Odersky | 2013-05-07 | 13 | -193/+2236 |
| | | | | | | | | Synced parser and SyntaxSymmary. Parser now produces untyped trees that need to be desugared further. Also some tweaks to position to make it work well. This is a first version. | ||||
* | Syntax summary for dotty, with indications what trees get generated. | Martin Odersky | 2013-04-30 | 1 | -0/+295 |
| | |||||
* | New tree organization, with untyped trees that closely model source. | Martin Odersky | 2013-04-30 | 7 | -264/+229 |
| | |||||
* | Small fixes prompted by last week's code walkthrough. | Martin Odersky | 2013-04-30 | 3 | -14/+29 |
| | |||||
* | Re-vamping of positions, and split into synthetic and source-derived. | Martin Odersky | 2013-04-30 | 1 | -28/+72 |
| | |||||
* | Modifications in prepation of parsing. | Martin Odersky | 2013-04-23 | 12 | -154/+285 |
| | |||||
* | Changed classSymbol so that it returns traits as well as classes. | Martin Odersky | 2013-04-23 | 1 | -11/+9 |
| | |||||
* | Making fields in MethodType, PolyType strict to avoid context capturing. | Martin Odersky | 2013-04-23 | 1 | -4/+5 |
| | |||||
* | Fixed build errors. | Martin Odersky | 2013-04-23 | 2 | -66/+66 |
| | |||||
* | Some annotations and changes prompted by the code walkthrough. | Martin Odersky | 2013-04-22 | 3 | -14/+22 |
| | |||||
* | Added symbolic XML builder | Martin Odersky | 2013-04-19 | 6 | -2/+271 |
| | |||||
* | Added TreeBuilder and TreeInfo classes. | Martin Odersky | 2013-04-19 | 10 | -156/+1240 |
| | | | | Also changed Untyped from Nothing to Null, because it avoids type inference problems. | ||||
* | Added some predefined methods in Definitions. | Martin Odersky | 2013-04-19 | 7 | -93/+214 |
| | |||||
* | Commented out pluggable transformers. | Martin Odersky | 2013-04-17 | 1 | -2/+2 |
| | | | | Will come back to this later. | ||||
* | Scanners added. | Martin Odersky | 2013-04-17 | 29 | -134/+1749 |
| | | | | | | | Moving Positions, Chars to new packages. Added Source positions. Added untyped trees module. Factored out behavior between typed and untyped trees. | ||||
* | Logging deep subtype recusions | Martin Odersky | 2013-04-10 | 1 | -1/+3 |
| | | | | (noe showed up when reading scala and dotty). | ||||
* | Consolidation isStatic, isStaticOwner, owner is Package | Martin Odersky | 2013-04-10 | 2 | -2/+2 |
| | | | | went thought all occurrences of either and checked that the right one is picked. | ||||
* | Re-organized comparisons of types with classes. | Martin Odersky | 2013-04-10 | 11 | -40/+51 |
| | | | | New methods: isClassType, derivesFrom, isArray. Refactored calls to typeSymbol and <:< into these. Made sure to use dealias where needed on remaining typeSymbol calls. | ||||
* | Removing automatic legal prefix checking. | Martin Odersky | 2013-04-10 | 5 | -19/+40 |
| | | | | It turned out this led to cycles in subtyping. We need to check for legal prefixes only for types that are declared or inferred in source. For the rest, we should assume that the type is OK. | ||||
* | Turn off preloading of denotations for unpickled symbols. | Martin Odersky | 2013-04-10 | 1 | -4/+4 |
| | | | | | The previous code was wrong for TypeRefs. Once the missing asSeenFrom(pre) was added, it led to cycles. The conclusion is that we have to compute the info lazily. If the prefix is NoPrefix, this is not possible, and we use a fixedSym instead. | ||||
* | Avoids exponential amount of testing for nested packages | Martin Odersky | 2013-04-10 | 2 | -3/+4 |
| | | | | Previously, each package nesting level doubled the amount of tests, because of the where doTwice was placed. | ||||
* | Renamed creation methods of NamedTypes | Martin Odersky | 2013-04-09 | 11 | -29/+26 |
| | | | | | Methods taking a fixed symbol are now called …withSym, methods taking a signature … withSig. The reason for the change is that we want to liberate the original method names to take optional denotations, thus avoiding to have to go through withDenot each time. | ||||
* | Added initial denotations to NamedType where feasible. | Martin Odersky | 2013-04-09 | 5 | -8/+6 |
| |