aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Moved TempTrees to Trees, get automatically flattened in transforms.Martin Odersky2013-05-234-32/+41
|
* Eliminating Trees.TypedTree and Trees.UntypedTreeMartin Odersky2013-05-224-31/+32
| | | | | Replaced by tpd.Tree and untpd.Tree. Also some cleanups in RefinedPrinters.
* Made tpd/untpd toplevel objects.Martin Odersky2013-05-2221-714/+709
| | | | Moved all other elements of TypedTrees and UntypedTrees into tpd and untpd.
* More tree refactorings.Martin Odersky2013-05-2224-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 Odersky2013-05-2211-88/+506
| | | | With various other small changes.
* Fix to typechecking of Try nodes.Martin Odersky2013-05-171-7/+4
|
* Refactored Printing architecture.Martin Odersky2013-05-1723-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 Odersky2013-05-171-7/+11
|
* New version of syntax-summary, with addition of string interpolators for ↵Martin Odersky2013-05-151-4/+8
| | | | quasi-quotes.
* Made precedence common between parsers and printersMartin Odersky2013-05-143-28/+43
|
* Refactored Printers, Showable and Text into new package dotc.printing.Martin Odersky2013-05-1414-25/+29
|
* New parser testsMartin Odersky2013-05-133-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 Odersky2013-05-132-0/+13
|
* Added conditional warning facilityMartin Odersky2013-05-135-14/+40
| | | | …for deprecation, feature, unchecked.
* new tests and worksheetsMartin Odersky2013-05-125-0/+113
|
* Lots of fixes to parserMartin Odersky2013-05-122-90/+178
| | | | … and some to grammar.
* Various fixes to trees.Martin Odersky2013-05-124-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 Odersky2013-05-121-8/+8
|
* Adding toString to Source positions.Martin Odersky2013-05-121-1/+5
|
* Various fixes to Scanners.Martin Odersky2013-05-121-13/+22
| | | | In particular: keyword handling, comments, numbers.
* Fixes to tree printingMartin Odersky2013-05-121-2/+3
| | | | Now goes inside lists. Also prints positions.
* Various fixes to Positions.Martin Odersky2013-05-121-20/+42
|
* Making Abstract a common flag.Martin Odersky2013-05-121-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 Odersky2013-05-121-0/+4
|
* Cleanup printing of positions.Martin Odersky2013-05-121-3/+3
|
* Refactored and augmented source positions.Martin Odersky2013-05-108-36/+60
| | | | Also Implemented ConsoleReporter formatting.
* Added locator for untyped trees.Martin Odersky2013-05-101-0/+13
|
* Two small tweaks to parserMartin Odersky2013-05-101-2/+4
|
* Some parser revisionsMartin Odersky2013-05-097-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 parserMartin Odersky2013-05-083-147/+143
| | | | Also some simplifications and eliminations of unused code.
* Added a parser.Martin Odersky2013-05-0713-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 Odersky2013-04-301-0/+295
|
* New tree organization, with untyped trees that closely model source.Martin Odersky2013-04-307-264/+229
|
* Small fixes prompted by last week's code walkthrough.Martin Odersky2013-04-303-14/+29
|
* Re-vamping of positions, and split into synthetic and source-derived.Martin Odersky2013-04-301-28/+72
|
* Modifications in prepation of parsing.Martin Odersky2013-04-2312-154/+285
|
* Changed classSymbol so that it returns traits as well as classes.Martin Odersky2013-04-231-11/+9
|
* Making fields in MethodType, PolyType strict to avoid context capturing.Martin Odersky2013-04-231-4/+5
|
* Fixed build errors.Martin Odersky2013-04-232-66/+66
|
* Some annotations and changes prompted by the code walkthrough.Martin Odersky2013-04-223-14/+22
|
* Added symbolic XML builderMartin Odersky2013-04-196-2/+271
|
* Added TreeBuilder and TreeInfo classes.Martin Odersky2013-04-1910-156/+1240
| | | | Also changed Untyped from Nothing to Null, because it avoids type inference problems.
* Added some predefined methods in Definitions.Martin Odersky2013-04-197-93/+214
|
* Commented out pluggable transformers.Martin Odersky2013-04-171-2/+2
| | | | Will come back to this later.
* Scanners added.Martin Odersky2013-04-1729-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 recusionsMartin Odersky2013-04-101-1/+3
| | | | (noe showed up when reading scala and dotty).
* Consolidation isStatic, isStaticOwner, owner is PackageMartin Odersky2013-04-102-2/+2
| | | | went thought all occurrences of either and checked that the right one is picked.
* Re-organized comparisons of types with classes.Martin Odersky2013-04-1011-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 Odersky2013-04-105-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 Odersky2013-04-101-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.