ICT: Diary
D: 66 W: 10
< | May 2019 | > | ||||
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
[ < ]
Monday, 13 May 2019 [ >
]
Janet
Janet is a functional and imperative programming language. It is a LISP language.
Running on OpenBSD was straight forward:
git clone git@github.com:janet-lang/janet.git
gmake
gmake test
gmake repl
Added the following target to the Makefile to check which compiler was used:
port:fred ~/code/git/janet> grep -A2 test-cc Makefile
test-cc:
$(CC) -v
which showed that clang was used:
port:fred ~/code/git/janet> gmake test-cc
cc -v
OpenBSD clang version 7.0.1 (tags/RELEASE_701/final) (based on LLVM 7.0.1)
Target: amd64-unknown-openbsd6.5
Thread model: posix
InstalledDir: /usr/bin
Then I noticed that Janet
was already ported to OpenBSD - but it was at v0.4.1 rather than v0.5.0 which was the stable version, so I mailed a diff to ports@openbsd.org.
$Id: dates.htm,v 1.1420 2021/02/11 21:12:16 fred Exp $
$Id: diary,v 1.27 2017/09/01 17:12:44 fred Exp $