Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonathanvdc/cin
A C front-end for the Flame compiler framework.
https://github.com/jonathanvdc/cin
Last synced: 15 days ago
JSON representation
A C front-end for the Flame compiler framework.
- Host: GitHub
- URL: https://github.com/jonathanvdc/cin
- Owner: jonathanvdc
- License: mit
- Created: 2015-04-07T22:09:18.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-03T21:58:04.000Z (almost 9 years ago)
- Last Synced: 2023-02-27T09:52:16.148Z (almost 2 years ago)
- Language: C#
- Size: 4.36 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cin (Flame.C)
## Flame.C
Flame.C is an experimental C front-end for the Flame compiler framework, written from the ground up in D#.
It is still very much a work in progress. Currently, only the most primitive C features are supported, with basic utilities, like proper string handling, union types and a standard library still missing.## cin
cin is a C compiler that leverages Flame.C and the rest of the Flame framework.
### Usage
cin uses the same interface as dsc, Flame's D# compiler. Compiling 'Struct.c' (as found somewhere in the 'Tests' folder) for the CLR platform can be accomplished by invoking cin with:cin Struct.c -platform CLR
### Back-ends
C code can be compiled to any target platform supported by Flame. Currently, two back-ends are functional enough to be used by cin in a somewhat reliable manner:
* CLR (.Net framework)
* C++Other back-ends are also available, but are unlikely to function correctly.