A starter Jik workspace for GitHub Codespaces.
This repository is meant to be opened in GitHub Codespaces or another devcontainer-compatible environment. The container installs the Jik compiler, syncs the matching examples/ directory, and configures the official Jik packages automatically.
For the Jik compiler, language source, and releases, see jik-lang/jik.
After the Codespace starts, run:
jik run examples/hello.jikYou should see the sample program run in the terminal.
scratch/ is the blank canvas for your own code.
examples/ is synced from the Jik release tag configured in .devcontainer/jik-release.env, so the sample programs match the installed compiler. That directory is generated by the container setup and is not checked into this repository.
Official packages are cloned into ~/.local/share/jik-packages, and JIK_PKG_PATH is set to that directory. For example, you can import the TOML package with use "pkg/toml". See https://github.com/jik-lang/jik-packages for more information about packages.
Next, you can try editing scratch/scratch.jik, and:
Translating it to C:
jik tran scratch/scratch.jikRunning it:
jik run scratch/scratch.jikBuilding it:
jik build scratch/scratch.jikTo get help:
jik helpThe container installs Jik from the GitHub release version configured in .devcontainer/jik-release.env.
If you clone this repository locally without the devcontainer, jik will not be installed automatically.