Orange is a systems programming language made to let the user create code that's as powerful as C++ while still being fun to write.
Orange is still under development and in the design phase; a lot of planned features are not yet implemented. Check the TODO to see what needs to be done.
At the moment, Orange has no standard library, so you'll need to link against C library functions to do more complicated tasks:
# test.or
extern int32 printf(char *s, ...)
for (int i = 0; i < 10; i++)
printf("Hello, world %d!\n", i)
end
Run directly with orange run test.or
or build a native binary with orange build test.or
and run with ./a.out
.
Installing on OS X and Linux should be pretty simple; after having all of the dependencies installed, building is as easy as:
$ mkdir build-orange && cd build-orange
$ cmake ../orange
$ make all install
Building on Windows takes a bit more effort.
- Boost
- Flex
- Bison
- CMake
- LLVM