gitter-badger / clike Goto Github PK
View Code? Open in Web Editor NEWThis project forked from combinatorylogic/clike
A simple C-like language compiler with an extensible syntax and typed macros support
License: Other
This project forked from combinatorylogic/clike
A simple C-like language compiler with an extensible syntax and typed macros support
License: Other
CLike 0.1 is a low-level programming language with an extensible syntax based on C. It is supposed to be used as both a front-end and a target for MBase/PFront, and can be embedded as a JIT engine into .net applications. CLike and llvm-wrapper are distributed under the terms of the Q Public License version 1.0 with a change to choice of law (see license.txt). CLike targets LLVM, tested with LLVM 3.5. Since the old JIT was replaced with MCJIT it is no longer capable of adding new declarations to the module after a function from that module was executed. Some multi-module solution is possible but not implemented yet. LLVM bindings for MBase are included, see llvm-wrapper/* Building: The only supported environment currently is Linux on x86 or x86_64, with Mono > 3.0. Python 2.7, Clang (3.5) and cindex are required for building llvm-wrapper Make sure PYTHONPATH points to $CLANG_SOURCE/bindings/python. pdflatex and graphviz are required for building documentation. Clike code layout is following: clike.hl : Binds the core functionality together clike-standalone.hl : A version that does not need LLVM bindings clike-ast.hl : Internal CLike AST definitions clike-env.hl : Compiler environment support clike-types-utils.hl : clike-types.hl : Types propagation pass + typed macro expansion clike-compiler.hl : Function bodies compilation passes clike-expand.hl : Post-parsing expansion and a simple macro expander clike-compiler-top.hl : Top level expressions compiler and all compiler passes clike-parser.hl : A standard parser for CLike clike-utils.hl : Additional utilities, not used directly by a compiler clike-api.hl : .NET api to CLike functionality clike-lib.hl : To build CLikeCore.dll clike-llvm.hl : All the LLVM-depending functionality clike-cc.hl : A simple command-line compiler clike-cc-standalone.hl : A simple command-line compiler, no-LLVM version
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.