rascal
rascal copied to clipboard
The implementation of the Rascal meta-programming language (including interpreter, type checker, parser generator, compiler and JVM based run-time system)
* this does not pass the type-checker because of an intricate issue with type parameters of the `type[..]` constructor. * it reuses the [a-z] character class notation instead of strings...
Users take the code of the standard library as exemplary rascal code. Long time ago we switched the default for functions from private to public, for the sake of usability...
The project license is BSD2, but many files still list Eclipse v1. We can switch without harm to BSD2, and for clarity and consistency's sake this is preferable.
**Describe the bug** I had an unexpected error; > Error: [ERROR] String.rsc:547:011: Type parameter `CharClass` should be less than `![]`, found `Tree` In this code: ``` public str squeeze(str src,...
* used git-filter-repo to remove all unnecessary scaffolding from rascal-tutor, and rename its source folder to src/org/rascalmpl/tutor. ```bash # cloned rascal-tutor from scratch git clone [email protected]:usethesource/rascal-tutor.git # this removed everthing...
Ever since I updated the vscode extension of rascal to version 0.11.2, I have been getting ambiguity warnings and errors when I try to test my syntax. I downgraded back...
**Describe the bug** An error sometimes occurs when a (non-keyword) parameter of a function type has a name. The occurrence of the error seems to depend on whether the type...
**Describe the bug** Productions annotated with a tag (`@category` in the examples below, but presumably any tag) sometimes give rise to ambiguity errors. **To Reproduce** Example 1: ``` rascal>lexical Test1a...
Sometimes you get a print like: ``` readBinaryValueFile: ... throws null exception... throws: IO("") stacktrace ``` Which is caused by this pattern in Prelude.java: ``` catch (IOException e) { System.err.println("readBinaryValueFile:...
It currently requires more unquoting and quoting than desirable to generate source code that uses separators. In the following code the newlines are separators. If they would not be, there...