-
Notifications
You must be signed in to change notification settings - Fork 4
Home
rhysd edited this page Oct 31, 2014
·
6 revisions
Caution!!
Dachs is heavily under development. Now I'm implementing the basic functions and the specification may change without any notifications.
- LLVM (3.4 or later)
- Clang (3.4 or later)
- cmake (2.8.8 or later)
- Boost C++ Library (1.55 or later)
$ git clone https://github.com/rhysd/Dachs.git
$ cd Dachs
$ mkdir build && cd build
$ cmake ..
$ make install -j
In addition to the pre-defined cmake's variables, DACHS_CXX_COMPILER
and DACHS_LLVM_CONFIG
are available. DACHS_CXX_COMPILER
is a path to compiler, DACHS_LLVM_CONFIG
is a path to llvm-config
command. When they are omitted, cmake attempts to assume them.
Dachs/samples/helloworld.dcs
func main
print("Hello, Dachs!\n")
end
main
is an entry point for the program.
You can see more samples in Dachs/samples/.