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)
**Description** The readFileLines function, from the IO package, is unable to read the file while there is no reason that the function should not be able to read it. It...
Codecov pointed out there were not test for them. Writing the test I found a bug, so also fixed that. Note the bug is minor, it would sometimes share too...
- started compiler for .rsc files, .concept filed and .md files to docusaurus markdown - wiring in the shell into the tutor, again - removed javadoc plugin - added Rascal...
**Describe the bug** ```rascal rel[str from, str to] edges = { | /(Edge) ` -- ` := g} ``` This gets an `Undefined from` and `Undefined to` from the type-checker.
**Describe the bug** ```rascal rascal>import IO; ok rascal>writeFile(|tmp:///a.txt|, "aaaaaa"); ok rascal>writeFile(|tmp:///b.txt|, "bbb"); ok rascal>copy(|tmp:///b.txt|, |tmp:///a.txt|) ok rascal>readFile(|tmp:///a.txt|) str: "bbbaaa" ``` To be clear: that should have been `bbb` without the...
**Describe the bug** ``` previous = "non empty"; writeFile(pcfg.bin + capitalize(pcfg.currentRoot.file) + relativize(pcfg.currentRoot, m)[extension="md"].path, "
**Describe the bug** In the tutor I know get the call traces of the compiler itself while running an example code that traces factorial. The reason is this code in...
It would be good to drop semicolon requirement for statements as well. It's particularly noticeable when importing modules. This screenshot is from the Java REPL (JShell in Java 11). _Originally...
I've been working a bit with the Rascal REPL in the last weeks, and compared to Scala/Node.JS REPLs, I miss two features: - Redefining values: Rascal throws an error that...
**Describe the bug** I had a `RASCAL.MF` file: ``` Manifest-Version: 0.0.1 Project-Name: test-repo Source: src/main/rascal Require-Libraries: |lib://rascal-lsp| ``` the last line (require libraries) was ignored due to a missing newline...