Skip to content

A minimum example to reproduce maximum call stack overflow issue when using langium validator

License

Notifications You must be signed in to change notification settings

durianwaffle/validation-dsl

Repository files navigation

Validation min example-dsl

How to start

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 and npm 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 using npm run langium:generate and finally run npm run build at examples\maxiumcallstacksizeexceed directory.
  • Go back to the root of the Langium project, run extension maxiumcallstacksizeexceed.

VSCode Extension

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.

About

A minimum example to reproduce maximum call stack overflow issue when using langium validator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages