A simple Hello, World!
program using Janet lang - https://janet-lang.org/
Install Janet from source, download the most recent release from https://github.com/janet-lang/janet/releases
-
On Linux, you'll need to install a C compiler and GNU Make to build from source.
-
On Debian-based distros:
sudo apt-get install build-essential
will do. -
Install Janet with
make && make test
thensudo make install
. -
On MacOS, simply do
brew install janet
Build with jpm build
, the binary will be in the build
folder.
![image](https://private-user-images.githubusercontent.com/22330483/262262863-b0ecfcc6-3a5c-4be6-893a-6859f5a08f2d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTU2NjQ1NDEsIm5iZiI6MTcxNTY2NDI0MSwicGF0aCI6Ii8yMjMzMDQ4My8yNjIyNjI4NjMtYjBlY2ZjYzYtM2E1Yy00YmU2LTg5M2EtNjg1OWY1YTA4ZjJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTE0VDA1MjQwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMyODk0ZTg4MTk0ODA2MjdkMzkzNGMyODk1MzFlYzg4NzZiMzBiYzFiZmUwM2I5ZGYwZDQwN2U1OWFiNjJlZjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.4OSdcEVkIqpz1JBovVCkoPS2pkJtXYjj1xwMtYfy4Zw)
- Janet for Mortals - https://janet.guide/
- Why Janet? - https://ianthehenry.com/posts/why-janet/