About 19,200,000 results
Open links in new tab
  1. 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 for further …

  2. 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 sequence of tokens or …

  3. 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: pygments, geshi,...

  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 intend to …

  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. Whatever happened to package 'parser' in Python 3.10?

    Aug 12, 2022 · parser has been deprecated and was removed in Python 3.10. From the v3.9 release notes: Python 3.9 uses a new parser, based on PEG instead of LL (1). The new parser’s …

  7. Treesitter - Failed to load 'lua' parser - Stack Overflow

    May 21, 2024 · I've installed TreeSitter on my Neovim config, yet all parser I seems to have installed failed to load Here are the errors Erreur détectée en traitant function …

  8. How can I pass a list as a command-line argument with argparse?

    I am trying to pass a list as an argument to a command line program. Is there an argparse option to pass a list as option? parser.add_argument ('-l', '--list', type=list, acti...

  9. Difference between compilers and parsers? - Stack Overflow

    Dec 17, 2009 · A parser would check for the syntax of sentences being correct, though. And the lexer might already look into a dictionary to see whether the words are made up or are indeed correct …

  10. Best practices for writing a programming language parser

    Nov 27, 2012 · You're better off finding a parser generator that can handle a larger language set. If you really don't want to get into tools, you can look at recursive descent parsers - it's a really simple …