Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: peg | Distribution: openSUSE Tumbleweed |
Version: 0.1.20 | Vendor: openSUSE |
Release: 1.3 | Build date: Fri Feb 9 19:39:44 2024 |
Group: Development/Tools/Building | Build host: i01-armsrv2 |
Size: 107175 | Source RPM: peg-0.1.20-1.3.src.rpm |
Packager: http://bugs.opensuse.org | |
Url: https://piumarta.com/software/peg/ | |
Summary: Recursive-Descent parser generators for C |
peg(1) and leg(1) are tools for generating recursive-descent parsers: programs that perform pattern matching on text. They processes a Parsing Expression Grammar (PEG) to produce a program that recognises legal sentences of that grammar. peg(1) processes PEGs written using the original syntax described by Ford while leg(1) processes PEGs written using slightly different syntax and conventions that are intended to make it an attractive replacement for parsers built with lex(1) and yacc(1). Unlike lex(1) and yacc(1), peg(1) and leg(1) support unlimited backtracking, provide ordered choice as a means for disambiguation, and can combine scanning (lexical analysis) and parsing (syntactic analysis) into a single activity.
MIT
* Sat Nov 25 2023 Dirk Müller <dmueller@suse.com> - update to 0.1.20: * src/tree.c (makeInline): Inline nodes remember their parent rule. * Replace "$$" in inline actions with "__". * src/tree.h (struct Inline): Inline nodes remember their parent rule. * (main): Don't print #line directives for headers if nolineFlag is set. * src/compile.c (allocateVariables): Separated from defineVariables. * (Node_compile_c_ko): Allocates and sets local variables during parse. * (Rule_compile_c2): Generate yyEnter and yyLeave if rule has variables. * (preamble): Macros yyEnter and yyLeave manage local variable space on stack during parsing. * src/compile.c: Allow re-entrant parsing. * Macro YYPARSEFROM_R names the function yyparsefrom_r(). * yyDone takes second argument, the yythunkpos at which actions start. * yyparsefrom_r saves and restores thunkpos and val state during recursive parse. * yyparsefrom resets thunkpos, val before recursive parse. * Tue Dec 22 2020 Michael Vetter <mvetter@suse.com> - Update to 0.1.18: * Add @{...} actions that are performed during matching. * Emit #line directives for header and trailer in the generated source file. * Add -P option to disable #line directives. Emit #line directives for all actions. * Wed Jun 04 2014 kkaempf@suse.com - Update to 0.1.15 * Calls to YY_FREE fixed (thanks to Andrew Dunham). * Documentation typos fixed (thanks to Giulio Paci). * Wed Sep 25 2013 Huaren Zhong <huaren.zhong@gmail.com> - Initial package for 0.1.13 - Rebuild for Fedora
/usr/bin/leg /usr/bin/peg /usr/share/doc/packages/peg /usr/share/doc/packages/peg/README.txt /usr/share/licenses/peg /usr/share/licenses/peg/LICENSE.txt /usr/share/man/man1/leg.1.gz /usr/share/man/man1/peg.1.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Nov 16 01:07:39 2024