Compiler | ivory | |
---|---|---|
2 | 3 | |
314 | 381 | |
0.0% | 0.5% | |
0.0 | 0.0 | |
almost 2 years ago | about 4 years ago | |
D | Haskell | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" 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.
Compiler
- Code Red: The Business Impact of Code Quality
-
The Fastest, Safest PNG Decoder in the World
> I'm a big believer in technical continuity.
So am I. D is designed to be an easy transition from C and C-With-Classes. For example, here is some code in C that was translated to D (it's part of the DMD compiler):
C:
https://github.com/DigitalMars/Compiler/blob/dmc-cxx/dm/src/...
D:
https://github.com/DigitalMars/Compiler/blob/master/dm/src/d...
They look pretty much the same. The code generated is the same. In those repositories you can also see how I translated the C versions to D with plenty of examples.
The biggest impediment is the C preprocessor. You wouldn't really want to carry that forward.
After removing dependency on the C preprocessor, most of the work is global search/replacing things like `->` to `.`.
ivory
-
Any good resources on using Haskell for embedded systems?
For embedded systems you might be interested in something like Ivory, which is an Haskell eDSL specifically targetting embedded systems.
-
The Fastest, Safest PNG Decoder in the World
Another tool along these lines is Galois' Ivory language https://ivorylang.org/ , a Haskell-embedded language for writing safe/reliable C.
-
More system programming language embedded in scripting language ?
Galois's Ivory does this. https://github.com/GaloisInc/ivory
What are some alternatives?
png-decoder - A pure-Rust, no_std compatible PNG decoder
lens-toml-parser - Lenses for toml-parser
Halide - a language for fast, portable data-parallel computation
language-thrift - Haskell parser for the Thrift IDL format.
smhasher - Hash function quality and speed tests
alga
code-maat - A command line tool to mine and analyze data from version-control systems
z3-encoding
stb - stb single-file public domain libraries for C/C++
hexpr - A framework for building symbolic, homoiconic languages.
LGV_MeetingSDK - A Connector for Various Regular Recovery Meetings
haskell-src - Library for manipulating Haskell source code