The Validation min example-dsl Example is a minimal DSL example inspired by arithmetics which has assignment and function calls but added binary expression it will cause maxium call stack exceed issue for subtype variable declaration.
- Ensure the complete project was properly built, otherwise run
npm install
andnpm run build
from the root of the Langium project. - And ensure that you have installed
yarn
. - Then you can install dependencies by running
npm install
then generate AST types usingnpm run langium:generate
and finally runnpm run build
at examples\maxiumcallstacksizeexceed directory. - Go back to the root of the Langium project, run extension
maxiumcallstacksizeexceed
.
Please use the VSCode run configuration "Run Arithmetics Extension" to launch a new VSCode instance including the extension for this language. Use the run configuration "Attach" to attach the debugger.