FransFaase/RawParser
View on GitHub ↗ ★ 9 C
Showing how a grammar driven parser can be implemented
7 mentions on Hacker News by 1 person: 0 stories, 7 comments · first 2020-10-27 · latest 2025-01-13
20082026
-
…style in a better way. The program can combine several Markdown files into a single C program. See: https://github.com/FransFaase/RawParser?tab=readme-ov-file#d...
comment by fjfaase · 2025-01-13 · in Literate programming: Knuth is doing it wrong (2014) -
…C code and weave those fragments into a C program that can be compiled. For an example input, see https://github.com/FransFaase/RawParser#documentation
comment by fjfaase · 2022-03-22 · in Literate programming is much more than just commenting code -
…you to 'extend' types and function, where '...' is used to indicate previously defined code. See: https://github.com/FransFaase/RawParser#documentation for a collection of MarkDown files and instructions on how to process them.
comment by fjfaase · 2021-12-15 · in Show HN: JWEB (a modern implementation of the CWEB Literate Programming system) -
…a parser that makes no distinction between scanning and parsing in C, which I called RawParser: https://github.com/FransFaase/RawParser . It also offers more powerful grammar constructs and gives examples on how to implement memory…
comment by fjfaase · 2021-04-09 · in Show HN: Carburetta – C/C++ Fused Scanner and Parser Generator -
…restrictions on the input files. An example of the type of input file I have in mind, is given at https://github.com/FransFaase/RawParser/blob/master/docs/gra... . The tool I am developing, and which is far from finished, can be found in…
comment by fjfaase · 2021-02-27 · in Noweb – A Simple, Extensible Tool for Literate Programming -
…based on the context. (I have used this approach in https://github.com/FransFaase/IParse and https://github.com/FransFaase/RawParser ). You can implement some caching, for example with keywords, which usually require you to 'parse' an…
comment by fjfaase · 2020-12-03 · in Modern Parser Generator -
…performance. For two examples of these approaches see: https://github.com/FransFaase/IParse and https://github.com/FransFaase/RawParser (WIP).
comment by fjfaase · 2020-10-27 · in Parsing Algorithms