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** * These two functions both do the same thing, one for 2 lists and one for 3 lists. The concept is the same and you can see...
**Describe the bug** `anno map[str key,str val] node@attrs;` this has to be replaced and tested.
**Describe the bug** For example: ``` @memo MyModel myExtractFunction(loc inputFile, datetime timestamp=lastModified(inputFile)) = ...; ``` This doesn't work because only the actual passed keyword fields are used to _lookup_ in...
**Describe the bug** ``` rascal>aaa = "a\nb\nc"; str: "a\nb\nc" rascal>" " str: " a\nb\nc" rascal> cancelled rascal>" >>>>>>>' " str: "\n a\n b\n c" ``` * the interpolation on the...
Sometimes expensive operations map file locations to intermediate models: `@memo MyModel myFunction(loc sourceFile);` It can be very practical to `@memo` such a function, but the cache is invalidated when the...
**Describe the bug** ``` rascal>|relative:///IDE|[extension=""] java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 4 (internal error) at $shell$(|main://$shell$|) java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 4 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319) at java.base/java.lang.String.substring(String.java:1874) at org.rascalmpl.interpreter.result.SourceLocationResult.fieldUpdate(SourceLocationResult.java:503) at...
We are based on the JEditorPane implementation of HTML for this library feature, but that does not support the full HTML standard. It seems better to write our own parser...
I encountered this exception while parsing my grammar in rascal: ``` |std:///ParseTree.rsc|(16210,1501,,): Java( "JavaCompilation", "Java compilation failed due to code too large", Java("JavaCompilerException","Compilation failed.")) at org.rascalmpl.interpreter.utils.JavaBridge.compileJava(|unknown:///JavaBridge.java|(0,0,,)) at org.rascalmpl.interpreter.utils.JavaBridge.compileJava(|unknown:///JavaBridge.java|(0,0,,)) at org.rascalmpl.parser.ParserGenerator.getNewParser(|unknown:///ParserGenerator.java|(0,0,,))...