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)
- Using jsoup 1.17.1 which can track attribute locations - minor refactoring for clarity
When I execute the following lines: ``` import Node; getKeywordParameters("f"(10, "abc", height=0)); ``` I get ``` Warning: calling function with extra unknown keyword argument: height map[str, value]: ("height":0) ``` The...
Merging grammars with overlapping non-terminal names in different roles breaks the parser generator
**Describe the bug** In one module we have: `lexical A = ...` and in the other `syntax A = ...` and then we merge those modules by extending them into...
**Describe the bug** ``` rascal>layout A = " "*; ok rascal>syntax A = "a" | "b" "b"; ok rascal>#A type[A]: type( sort("A"), ( layouts("$default$"):choice( layouts("$default$"), {prod( layouts("$default$"), [], {})}), empty():choice(...
Currently, the signature of `diffJavaM3` and `diffM3` takes a location (identifier) and a list of metaModels. It then calculates the difference between the first model in the list and the...
**Describe the bug** I compare two lists with each other using `==`. This always results in a False while the lists are equal to each other. The code that does...
This would be an example `rascal.toml` ```toml version='1.0' [project] name = 'test-project' sources = [ 'src/main/rascal'] libraries = [ '|lib://typepal|'] [main] module = 'lang::testing::Mod' function = 'main' ```
If you run `newRascalProject(|home://thereIsABug|);` the error message states that the project already exists. This should not be the case, because the location is actually not formatted correctly (only two /...
**Describe the bug** When the Rascal repl is started from git bash it starts but it never accepts input. **To Reproduce** Start Rascal from git bash: ``` $ java -jar...
**Describe the bug** When calling `parse(start[...], source)`, I am not able to specify a fully qualified name inside the square brackets. **To Reproduce** sandbox/Syntax.rsc: ``` module sandbox::Syntax start syntax Person...