sarath-soman / slang4cpp Goto Github PK
View Code? Open in Web Editor NEWThis project forked from pradeep-subrahmanion/slang4cpp
C++ compiler front end for SLANG .
This project forked from pradeep-subrahmanion/slang4cpp
C++ compiler front end for SLANG .
SLANG (Simple LANGuage) was initially developed as a tool to teach compiler construction. At first , SLANG compiler (SLANG4.NET) was written in C# and used .NET reflection for backend code generation. SLANG has improved over the past few years and is now being used at production environments for evaluating business rules with the help of JavaScript backend. This project rewrites SLANG Compiler in C++ and uses LLVM for backend code generation. SLANG4CPP enables SLANG programs to run native code on Linux , MAC OS X and Windows. SLANG4CPP has a JavaScript backend which generates javascript equivalent of SLANG source. SLANG4.NET - http://slangfordotnet.codeplex.com/ Java port of SLANG (SLANG4JAVA) can be found at , https://github.com/aashiks/Slang4Java BUILD ----- Make sure gcc and llvm are installed . Check commands 'gcc' and 'llc'. Type 'make' This will generate 'slangcc' executable. RUN --- slangcc has three modes . 1. JIT mode slangcc -i <filename> 2. Compilation mode slangcc -c <filename> This will generate native executable from slang source. To run , type ./<filename> eg : slangcc test.sl ./test 3. JavaScript mode slangcc -j <filename> This will generate JavaScript equivalent of SLANG code.
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.