Parsing freeform Text #196
Unanswered
umgefahren
asked this question in
Q&A
Replies: 1 comment
-
Participle's documentation is not really designed to explain the basics of parsing. However, if you follow the tutorial, and look up some of the basic concepts such as the difference between lexing and parsing, you should be able to make it work. Lexing basically splits the text into separate types of fragments (tokens), such as strings, numbers, whitespace, identifiers, etc. Parsing then enforces a structure on those tokens. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to build a parser with this library for CookLang. How do I parse free form text and extract values from that?
Do I have to use the lexer? I'm quite new to all of this...
Beta Was this translation helpful? Give feedback.
All reactions