~rabbits/orca-toy

ref: a0a74129af6e22cbf0c541900c1ffb3382f561c9 orca-toy/build.sh -rwxr-xr-x 393 bytes
a0a74129neauoire BROKEN, issue with library 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

clang-format -i toy.c

rm -f ./toy

# GNU/Linux
cc -std=c89 -DDEBUG -Wall -Wpedantic -Wshadow -Wextra -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Wvla -g -Og -fsanitize=address -fsanitize=undefined -o toy toy.c

# Plan9
# pcc toy.c -o toy

# ./toy abflm.orca > abflm-result.orca
# diff abflm-result.orca abflm-expected.orca

./toy demo.orca 10