Skip to content

steshaw/turtle-shell-with-nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trying Turtle shell with Nix

Using a simple wrapper script called turtle allows your Turtle shell programs to execute with a simple shebang. Nix will take care of installing the necessary dependencies if you don’t have them already.

Put turtle onto your PATH

$ source scripts/env

or simply:

$ PATH=$PWD/scripts:$PATH

or use direnv:

$ direnv allow

Execute example Turtle shell scripts

$ examples/hello-turtle
Turtle

a Turtle shell script with simple shebang

#!/usr/bin/env turtle

main = echo "Hello, Turtle!"

References

About

Turtle shell example with Nix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published