Standalone does not include `load_grammar`
See original GitHub issueDescribe the bug
Lark 1.1.2, installed via pip, creates a standalone without the function load_grammar
defined.
To Reproduce
Create a grammar
start: "a"
Build in cmd.exe with python -m lark.tools.standalone grammar.lark > standalone.py
Opening the file, there is one call to load_grammar
, and no definition
Issue Analytics
- State:
- Created a year ago
- Comments:16 (6 by maintainers)
Top Results From Across the Web
When using standalone: true created node_modules does not ...
I am using the new experimental build setting: standalone: true in my ./next.config.js file. But for some reason the packages that are being...
Read more >Java: offline validate XML using local XSD and SchemaFactory
I'm currently validating a local XML file with a local XSD file using this method: private boolean validate(File xmlFile) { SchemaFactory ...
Read more >src/xercesc/internal/SGXMLScanner.cpp - Google Git
// implies that this will have been initialized correctly. unsigned orgGrammarUri = uriId;. if ...
Read more >org.apache.xerces.impl.dtd.DTDGrammarBucket java code ...
@param augs Additional information that may include infoset * augmentations. ... @param standalone The standalone value, or null if not specified.
Read more >SpeechRecognitionEngine Class (Microsoft.Speech ...
We're no longer updating this content regularly. ... as standalone speech recognition applications using an in-process recognition engine, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No worries, thanks for your input. I think it’s natural to miss things when reading so many pages of docs (it also says lalr only in the main README ). I can’t say how common that confusion is, or what’s the best way to address it. Either way, I’m open to suggestions.
(Earley was always the default parser.)
The standalone must be LALR, it doesn’t support other parsers.