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)
**Describe the bug** The current way of looking up a logical resolver for a scheme does not allow for `+` schemes; example if the `jar+file:///` scheme was implemented with a...
**Describe the bug** Parameterized nonterminals in concrete patterns are not fully supported by the interpreter. There is a workaround where one would use the "filled in" nonterminal in a grammar...
**Describe the bug** Aliases of syntactic or lexical definitions are not supported in concrete patterns, when used as the type of a pattern and when used the type of a...
``` rascal>import lang::rascal::tutor::Indexer; ☐ Parsed ExtractInfo.rsc 🕘 0:00:00.386 ☑ Generating $GENERATED_PARSER$41854358 🕛 0:00:00.436 ☑ Generating $GENERATED_PARSER$1920113068 🕛 0:00:00.435 ☑ Generating $GENERATED_PARSER$1151540380 🕛 0:00:00.549 ☑ Generating $GENERATED_PARSER$741664820 🕛 0:00:00.005 ☑ Loading...
**Describe the bug** 1. Run `mvn compile` to activate a Rascal compile and tutor run 2. Wait 3. Cursor is gone 4. type `reset` in the terminal to make it...
**Describe the bug** ``` rascal>import lang::flybytes::demo::pico::Compiler; |prompt:///|(0,44,,):Could not load lang::flybytes::demo::pico::Compiler due to: Parse error at |prompt:///|(0,44,,) Parse error at file:///Users/jurgenv/git/flybytes/src/lang/flybytes/demo/pico/Compiler.rsc offset=2194 length=1 begin=77:35 end=77:36 at org.rascalmpl.parser.gtd.SGTDBF.parse(SGTDBF.java:1197) at org.rascalmpl.parser.gtd.SGTDBF.parse(SGTDBF.java:1235) at org.rascalmpl.parser.gtd.SGTDBF.parse(SGTDBF.java:1240)...
This is a language design bug that makes it impossible to provide keyword parameters to functions that are passed as values. For example this constructor encapsulates two closures, one of...
_Originally posted by @tvdstorm in https://github.com/usethesource/rascal/issues/1746#issuecomment-1362227095_ A definition `alias B = void(str, B);` refers to itself in its own definition; this is not allowed and not implemented by the interpreter....
Apparently, `null` fields in JSON are ignored (or trigger exceptions): ``` rascal>import lang::json::IO; rascal>parseJSON(#value, "{\"a\": null}"); value: "object"() rascal>parseJSON(#value, "{\"a\": 2}"); value: "object"( a=2) ``` With an explicit type, it...
**Is your feature request related to a problem? Please describe.** There are many reasons for aliases in source locations: * soft and hard links (symlinks) * repeated mounts of the...