[ ] Monday, 13 May 2019 [ ]


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  
	$(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 $