Pegged
ppci
Our great sponsors
Pegged | ppci | |
---|---|---|
7 | 5 | |
533 | 322 | |
- | - | |
5.5 | 0.0 | |
8 months ago | almost 2 years ago | |
D | Python | |
- | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Pegged
-
Metaprogramming in Zig and Parsing CSS
Here's a parser generator that uses metaprogramming in D to run it at compile time:
https://github.com/PhilippeSigaud/Pegged
-
C++17’s Useful Features for Embedded Systems
This is the intended purpose of the feature. gzip may be a little aggressive given that you have to unzip it again at the other end but its very possible (and potentially not even as expensive as one might expect given that these types of compression algorithms can be tuned on a speed/size tradeoff and backoff when struggling to compress).
https://github.com/PhilippeSigaud/Pegged is a D library that generates a parser generator for you based on a grammar (string) at compile time.
-
Good languages for writing compilers in?
Also pegged is a pretty nice library for generating parsers from PEG grammars.
-
Rule
I LOVE PEGGED IT'S MY FAVORITE PARSER GENERATOR FOR THE D PROGRAMMING LANGUAGE
-
Writing a JSON parser from scratch in TypeScript
I mean it kind of depends on the parser generator if it's simpler or harder to use. I have mainly used this which is very simple to use.
- Ohm – A library and language for building parsers, interpreters, compilers, etc.
- Pegged – a parsing expression grammar (PEG) generator in the D language
ppci
- Good languages for writing compilers in?
-
Hey guys, have any of you tried creating your own language using Python? I'm interested in giving it a shot and was wondering if anyone has any tips or resources to recommend. Thanks in advance!
It's not super maintained but you might enjoy building something with ppci, Pure Python Compiler Infrastructure. It has some front-ends and some back-ends. There's also PeachPy for an assembler. People like using Lark for parsing, I hear.
-
Hmm
I disagree
- PPCI (Pure Python Compiler Infrastructure) Project
- Windelbouwman/ppci: A compiler for ARM, x86, MSP430, xtensa in pure Python
What are some alternatives?
ohm - A library and language for building parsers, interpreters, compilers, etc.
mpl - The MaPLe compiler for efficient and scalable parallel functional programming
usfm-grammar - An elegant USFM parser.
backrooms - 3D, CISC Architecture and Esolang
pymetaterp - A python parser that builds python ASTs in 502 lines of python without using modules
Assembler - outdated, do not use
meowlang - Meow Programming Language
watim - Language which compiles to WebassemblyTextFormat
manicdigger - Manic Digger - a multiplayer block-building voxel game, Minecraft clone
TablaM - The practical relational programing language for data-oriented applications
rust-numpy - PyO3-based Rust bindings of the NumPy C-API