We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a new hello world grammar
change the hello-world.langium to
hello-world.langium
grammar HelloWorld import './hello-metadata' interface FieldValidation { field: @Field; } entry Validation: 'validate' name=ID '{' content+=FieldValidation* '}' ; FieldValidation returns FieldValidation: 'on' field=[Field] '{' '}';
create following additional grammars
hello-terminals.langium
hidden terminal WS: /\s+/; terminal ID: /[_a-zA-Z][\w_-]*/;
hello-metadata.langium
grammar HelloMetadata import './hello-terminals' TextType infers DataType: name='Text'; BuiltInType: TextType; Type: BuiltInType ; interface Field { name: string; type: Type; } entry Field returns Field: 'field' name=ID (type=Type) ('{' '}')?;
run langium:generate the following error is logged to command line
langium:generate
Error: Token "Text" not found."
=> looks like there is something broken in the lexer building
The text was updated successfully, but these errors were encountered:
might be another wired variant of #1151
Sorry, something went wrong.
No branches or pull requests
Create a new hello world grammar
change the
hello-world.langium
tocreate following additional grammars
hello-terminals.langium
hello-metadata.langium
run
langium:generate
the following error is logged to command line
=> looks like there is something broken in the lexer building
The text was updated successfully, but these errors were encountered: