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)
- removes deprecated calls and fixes modules names in tests - fixes #916 - added tests for #916
**Describe the bug** ``` Error: [ERROR] Tests run: 5851, Failures: 0, Errors: 1, Skipped: 199, Time elapsed: 150.896 s
**Describe the bug** These two expression operators are confusing and their (static) semantics is sometimes unclear: * `# Type` * `type(Symbol symbol,map[Symbol,Production] definitions)` This is their grammar rules in Rascal.rsc:...
**Describe the bug** ``` Loading module:lang::cpp::M3 [ERROR] org.rascalmpl.interpreter.staticErrors.UndeclaredJavaMethod: No such Java method: lang.cpp.internal.Parser.parseCppToM3AndAst(io.usethesource.vallang.ISourceLocation, io.usethesource.vallang.IList, io.usethesource.vallang.IList, io.usethesource.vallang.IMap, io.usethesource.vallang.IBool) Advice: |http://tutor.rascal-mpl.org/Errors/Static/UndeclaredJavaMethod/UndeclaredJavaMethod.html| Loading module:lang::cpp::TypeSymbol skipping. Module has no tests. Loading module:lang::cpp::ASTgen skipping. Module...
**Describe the bug** These new specs are parametrized test functions that take M3 models or `node` ASTs as parameters to test internal consistency. We never applied them to the Java...
**Is your feature request related to a problem? Please describe.** Only **big bang releases** of the Rascal project can make new features inside the standard library available to our users....
With @lmove, we observed that the [BasicM3Tests](https://github.com/usethesource/rascal/blob/master/src/org/rascalmpl/library/lang/rascal/tests/library/lang/java/m3/BasicM3Tests.rsc) are currently failing when run from a Rascal console in Eclipse, but succeed when run from the command line (`java -jar rascal.jar` shell)....
**Describe the feature** I'd like to be able to list-match on constructor argument lists: ``` "nodeName"(int x, *value rest) // match an argument list that starts with an int and...
When loading the following java code from an Eclipse project the **model.methodInvocation** contains an invocation from D->p() to C->m(), as expected. ``` public class C { public void m() {}...
After loading the JDK with createM3FromJar() the methodInvocation relation contains URL escape characters at the beginning of the path. Note the method locations in the _range_ of the relation. They...