About 17,800,000 results
Open links in new tab
  1. parsing - lexers vs parsers - Stack Overflow

    Are lexers and parsers really that different in theory? It seems fashionable to hate regular expressions: coding horror, another blog post. However, popular lexing based tools: …

  2. What is parsing in terms that a new programmer would understand?

    May 29, 2010 · A parser for that language would accept AABB input and reject the AAAB input. That is what a parser does. In addition, during this process a data structure could be created …

  3. How to load custom language in python tree-sitter version 0.23.0

    Sep 4, 2024 · In latest python version the definition of Language and Parser is changed. Language expects one argument of type tree-sitter.language and Parser is initialized directly …

  4. parsing - How to write a Parser in C#? - Stack Overflow

    Sep 11, 2011 · How do I go about writing a Parser (Recursive Descent?) in C#? For now I just want a simple parser that parses arithmetic expressions (and reads variables?). Though later I …

  5. What's the best way to parse command line arguments?

    What's the easiest, tersest, and most flexible method or library for parsing Python command line arguments?

  6. python - Parsing boolean values with argparse - Stack Overflow

    I would like to use argparse to parse boolean command-line arguments written as "--foo True" or "--foo False". For example: my_program --my_boolean_flag False However, the following test …

  7. Looking for a clear definition of what a "tokenizer", "parser" and ...

    Mar 28, 2018 · 202 I am looking for a clear definition of what a "tokenizer", "parser" and "lexer" are and how they are related to each other (e.g., does a parser use a tokenizer or vice versa)? …

  8. Python Argparse conditionally required arguments - Stack Overflow

    Sep 2, 2014 · In the example parser, we save a reference to the --a option inside the --argument option, and when --argument is seen on the command line, it sets the required flag on --a to …

  9. Which parsers are available for parsing C# code? - Stack Overflow

    Which parsers are available for parsing C# code? I'm looking for a C# parser that can be used in C# and give me access to line and file informations about each artefact of the analysed code.

  10. c# - What is parsing? - Stack Overflow

    Jun 5, 2015 · A parser is a compiler / interpreter component that breaks data into smaller elements for easy translation into another language. A parser takes input in the form of a …