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)
Reproduce: ``` rascal>int x = 3; int: 3 rascal>|file:///bla-| |prompt:///|(14,1,,): addition not supported on str and int Advice: |http://tutor.rascal-mpl.org/Errors/Static/UnsupportedOperation/UnsupportedOperation.html| ok rascal>bool b = true; bool: true rascal>|file:///bla-| |prompt:///|(14,1,,): addition not...
**Describe the bug** ``for`` can be used as expressions, as verified by the following code: ```text L = for (int i
**Describe the bug** `Traversal` module isn't working. There is no `getTraversalContext` Java method implemented in [`org.rascalmpl.library.Prelude`](https://github.com/usethesource/rascal/blob/17898c50037c6dcacb25c7657c0644a9e49beb19/src/org/rascalmpl/library/Prelude.java) https://github.com/usethesource/rascal/blob/17898c50037c6dcacb25c7657c0644a9e49beb19/src/org/rascalmpl/library/Traversal.rsc#L11-L13 **To Reproduce** ``` rascal>import Traversal; |std:///Traversal.rsc|(353,162,,): No such Java method: org.rascalmpl.library.Prelude.getTraversalContext(org.rascalmpl.interpreter.IEvaluatorContext) Advice: |http://tutor.rascal-mpl.org/Errors/Static/UndeclaredJavaMethod/UndeclaredJavaMethod.html|...
**Describe the bug** The Rascal compile mojo sometimes fails with the following stacktrace. After re-running the same job, the issue has never appeared again immediately. Just after a few days...
``` rascal>str myPath = " "; str: " " rascal>|hello://| |prompt:///|(0,18,,): MalFormedURI("hello:// ") at $shell$(|prompt:///|(0,18,,)) rascal>|hello:///| + myPath loc: |hello:///%20%20| ```
I think not printing would be ok, but only if a browser is started to show the content. ``` import Content; html("this is a test"); ``` This should pop up...
``` getTPLReadLoc: DOES NOT EXIST: |file:///Users/jurgenv/git/salix/target/classes/rascal/salix/lib/Highlight.tpl| [INFO] getTPLReadLoc: DOES NOT EXIST: |lib://rascal/rascal/salix/lib/Highlight.tpl| [INFO] getTPLReadLoc: DOES NOT EXIST: |file:///Users/jurgenv/git/salix/target/classes/rascal/salix/demo/shop/Shop.tpl| [INFO] getTPLReadLoc: DOES NOT EXIST: |lib://rascal/rascal/salix/demo/shop/Shop.tpl| [INFO] getTPLWriteLoc: salix::Node => [INFO] saveModule(salix::Node)...
**Describe the bug**  **Expected behavior** The pattern match should not be flagged as incorrect **Desktop (please complete the following information):** - Context: VSCode - Rascal Version: 0.24.2 **Additional context**...
**Describe the bug** * add an alternative `readXML(type[&T] expected, loc src)` and `readXML(type[&T] expected, src src)` * use the grammar to call `vf.constructor(..)` rather than `vf.node` where possible and throw...