Skip to content
hsk edited this page Oct 30, 2014 · 6 revisions

Welcome to the Dachs wiki!

Install

$ git clone https://github.com/rhysd/Dachs.git
$ cd Dachs
$ make
$ make install

Hello World

samples/helloworld.dcs

func main
    print("Hello, Dachs!\n")
end
$ dachs samples/helloworld.dcs
$ samples/helloworld
Hello, Dachs!

Fib

$ dachs samples/fib.dcs
$ samples/fib
89 $

Fib2

$ dachs samples/fib2.dcs
$ samples/fib2
89 $

Fizzbuzz2

$ dachs samples/fizzbuzz2.dcs
1
2
fizz
4
buzz
fizz
7
:
13
14
fizzbuzz
:
:
fizzbuzz
91
92
:
98
fizz
Clone this wiki locally