blob: f4562c9c9df92cbbebecea7f35536bc8983b4811 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
HolyC is a programming language created by the late Terry A. Davis
This is a demo of James Barford's HolyC compiler, `hcc`.
`hcc` just converts everything to straight assembly and passes it to `gcc`, which
i'm pretty sure just hands that off to GAS.
you can get a copy of it here: https://holyc-lang.com/install
to run this demo:
make
./testprog
If you take a peep at `Makefile` you'll notice that `hcc` can't compile multiple
objects in a single command. It also doesn't know when you've passed multiple
`.hc` file arguments, so it only processes the last one.
HolyC actually has some surprisingly rich features, like vectors, hashtables,
and apparently even a built-in JSON class.
crazy stuff
|