Commit Graph

60 Commits (d3eb6b2382f3051cca164f4cc41cdb5bf0876e10)

Author SHA1 Message Date
Eugene Yokota 9045975b8d Scala 2 compiler smoke test regressed 2023-01-09 14:36:15 +07:00
Chris Kipp 8770d85333 chore: bump dotty coverage to 60 2023-01-09 10:25:23 +07:00
Anton Sviridov 0dd7134e44 Dotty is now on 59% 2023-01-09 07:49:12 +07:00
Anton Sviridov fc77eb0c5d See if we can run on Linux now.. 2023-01-09 07:46:55 +07:00
Anton Sviridov 31f172c295 Make smoke_test.sh script better for diffing results 2023-01-09 07:46:55 +07:00
Eugene Yokota efa49c8c73 Improve expression hierarchy
Problem
-------
Currently we use `$.expression` everywhere even though it often
requires much narrower set of expressions.

Solution
--------
Now that we've gained some memory budget, this adds
`_simple_expression`, mirroring the EBNF, and adjusts
`infix_expression` etc to use narrower choice of expression tokens.
With this change, the smoke test for Scala 2 library jumps to 95%.
2023-01-08 23:24:35 +07:00
Eugene Yokota ea144d8c84 Givens instance
This implements support for givens instances.
2023-01-08 02:43:13 +07:00
Eugene Yokota 117ef96a09 1% regression in Scala 2 compiler parsing 2023-01-08 00:31:10 +07:00
Eugene Yokota dfd7e41cbe Fix grep to detect C changes
Problem
-------
My grep has a bug, so *.sh file changes are detected as C change.

Solution
--------
1. Add backslash before dot.
2. Bump up the expected Dotty score.
2023-01-07 10:08:52 +07:00
Eugene Yokota 1f325efc31 Smoke test
This adds real-world integration test using scala/scala and Dotty
compiler code base.
The expected parse success% is currently hardcoded, but at least
we'll catch if this number degrades.
2023-01-06 10:16:51 +07:00