Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
on:
- push
push:
branches: ['*']
# TODO publish on tags
# tags: ['v*']

jobs:
# Set the job key. The key is displayed as the job name when a job name is
Expand All @@ -11,8 +14,8 @@ jobs:
# This is the VM image
runs-on: ubuntu-latest
container:
# As of 2025-08-09, debian 13 is stable
image: ocaml/opam:debian-13-ocaml-5.5
# Updated 2026-02-20
image: ocaml/opam:debian-13-opam

steps:
- name: Install OS deps
Expand Down Expand Up @@ -53,6 +56,7 @@ jobs:

- name: Check out repo
shell: bash -exuo pipefail {0}
# TODO: support when GITHUB_REF is a tag (e.g. `refs/tags/v0.1.0`)
run: |
env
REF=$(echo "${GITHUB_REF}" | sed -n 's/refs\/heads\/\(.*\)/\1/p')
Expand Down
12 changes: 6 additions & 6 deletions MILESTONES.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# Milestones

## v0.2
- [ ] Test suite
- [ ] JSON module
- [ ] Binary builds
- [ ] statically link readline

## v0.3 - initial pre-release
- [ ] Migrate AST to use actual Ast module
- [ ] Regular expressions (libpcre?)
- [ ] Test suite
- [ ] JSON module
- [ ] Constraint system
- language version
- permissions
- [ ] Migrate AST to use actual Ast module
- [ ] Regular expressions (libpcre?)
- [ ] Allow non-zero exit codes on sub-processes

## v1.0
- [ ] Formatter
- [ ] LSP server
- [ ] Binary builds
- [ ] statically link readline
- [ ] optimize binary size
- [ ] Optional function parameters
- [ ] Network stack
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ build:

.PHONY: get
get:
opam install . --deps-only --with-test --with-doc -vv
opam install . --yes --deps-only --with-test --with-doc -vv

.PHONY: list-errors
list-errors:
Expand Down
15 changes: 10 additions & 5 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,20 @@
(description "A longer description")
(depends
; Dynarray module requires 5.2.0
; 5.4.0 latest stable as of 2025-11-06
; Checked 2026-02-20
(ocaml (and (>= 5.4.0) (< 5.5.0)))
dune
ounit2
; Checked 2026-02-20
(ounit2 (and (>= 2.2.7) (< 3.0.0)))
; Checked 2026-02-20
(core (and (>= v0.17.1) (< v0.18)))
; Checked 2026-02-20
(core_unix (and (>= v0.17.1) (< v0.18)))
(ppx_jane (and (>= v0.17) (< v0.18)))
; Sep 3, 2024
(re (>= 1.12.0))
; Checked 2026-02-20
(ppx_jane (and (>= v0.17.0) (< v0.18)))
; Checked 2026-02-20
(re (and (>= 1.14.0) (< 2.0.0)))
; Checked 2026-02-20
(readline (>= 0.2))
)
(tags
Expand Down
6 changes: 3 additions & 3 deletions sloth_script.opam
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ bug-reports: "https://github.com/christopherfujino/slothscript/issues"
depends: [
"ocaml" {>= "5.4.0" & < "5.5.0"}
"dune" {>= "3.16"}
"ounit2"
"ounit2" {>= "2.2.7" & < "3.0.0"}
"core" {>= "v0.17.1" & < "v0.18"}
"core_unix" {>= "v0.17.1" & < "v0.18"}
"ppx_jane" {>= "v0.17" & < "v0.18"}
"re" {>= "1.12.0"}
"ppx_jane" {>= "v0.17.0" & < "v0.18"}
"re" {>= "1.14.0" & < "2.0.0"}
"readline" {>= "0.2"}
"odoc" {with-doc}
]
Expand Down
Loading