This is a simple low level language implemented in c++ using llvm.
sschellhoff / s3l Goto Github PK
View Code? Open in Web Editor NEWA simple low level language implemented in c++ using llvm
A simple low level language implemented in c++ using llvm
This is a simple low level language implemented in c++ using llvm.
Calling a declared function throws an error in ir builder. Declared functions must be registered before they were called.
Wenn eine Funktion mehrfach angelegt wird, wobei sich der Rückgabetyp unterscheidet, so werden sie als unterschiedliche Funktionsdefinition angesehen. Funktionsüberladung sollte sich nicht durch den Rückgabetyp einer Funktion unterscheiden.
calling a function with void return value procudes an error in ir visitor
There is an error in ir generation if there is an if at the end of functions. This can be fixed with a standart return at the end of every function. This will never be called from code and is only for llvm's code generaton.
Diese Funktion soll implementiert und eingebaut werden. Funktionsaufrufe haben aktuell keine Überprüfung.
Funktionsaufrufe bekommen automatisch den Typ number als Rückgabetyp.
Funktionen sollten möglicherweise Parametertypen im Namen tragen um so Funktionsüberladung zu realisieren.
long version:
function(a int, b int, c int, d char)
short version:
function(a, b, c int, d char)
short version should be implemented
recursive functions shouldn't need a declaration first,
example:
test(a int) int {
if a >= 1 {
return a * test(a - 1)
}
return 1
}
should not need a forward declaration "test(a int) int;"
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.