You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ParseTree.rsc in the standard library it says: anno loc Tree@\loc;
The interpreter already simulates this by data Tree(loc src=|unknown:///|)
Most of our Rascal code still uses the @\loc annotation syntax which is simulated by the interpreter and the compiler by .src
This is scattered over:
rascal
rascal-core
typepal
flybytes
rascal-eclipse
rascal-language-servers
... ?
We have simple cripts to automatically rewrite locations to keyword parameters, including the renaming of "loc" to "src".
We need to synchronize this in the same way as the Java11 move, starting with rascal we have to move one-by-one through the dependency graph.
Its complex to do this while other changes are being done at the same time, since it can invite commit conflicts due to the many small changes in many files.
anno loc Tree@\loc;data Tree(loc src=|unknown:///|)@\locannotation syntax which is simulated by the interpreter and the compiler by.src