hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 9d5fb736b66965f690b959b250d53c41f8de7513
parent 8c536c9eaa53e6e862548eb118d25b21feabcfe8
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon,  8 Mar 2021 17:26:24 -0500

Update stdlib

Diffstat:
Mgen-stdlib | 5+++--
Mmk/stdlib.mk | 10++++++----
2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/gen-stdlib b/gen-stdlib @@ -335,7 +335,7 @@ os() { '$(PLATFORM)/fs.ha' \ stdfd.ha \ fs.ha - gen_ssa os io strings types fs encoding::utf8 + gen_ssa os io strings types fs encoding::utf8 bytes } os_exec() { @@ -356,7 +356,8 @@ path() { util.ha \ join.ha \ norm.ha \ - names.ha + names.ha \ + iter.ha gen_ssa path strings bufio bytes } diff --git a/mk/stdlib.mk b/mk/stdlib.mk @@ -389,7 +389,7 @@ stdlib_os_srcs= \ $(STDLIB)/os/stdfd.ha \ $(STDLIB)/os/fs.ha -$(HARECACHE)/os/os.ssa: $(stdlib_os_srcs) $(stdlib_rt) $(stdlib_io) $(stdlib_strings) $(stdlib_types) $(stdlib_fs) $(stdlib_encoding_utf8) +$(HARECACHE)/os/os.ssa: $(stdlib_os_srcs) $(stdlib_rt) $(stdlib_io) $(stdlib_strings) $(stdlib_types) $(stdlib_fs) $(stdlib_encoding_utf8) $(stdlib_bytes) @printf 'HAREC \t$@\n' @mkdir -p $(HARECACHE)/os @HARECACHE=$(HARECACHE) $(HAREC) $(HAREFLAGS) -o $@ -Nos \ @@ -415,7 +415,8 @@ stdlib_path_srcs= \ $(STDLIB)/path/util.ha \ $(STDLIB)/path/join.ha \ $(STDLIB)/path/norm.ha \ - $(STDLIB)/path/names.ha + $(STDLIB)/path/names.ha \ + $(STDLIB)/path/iter.ha $(HARECACHE)/path/path.ssa: $(stdlib_path_srcs) $(stdlib_rt) $(stdlib_strings) $(stdlib_bufio) $(stdlib_bytes) @printf 'HAREC \t$@\n' @@ -898,7 +899,7 @@ testlib_os_srcs= \ $(STDLIB)/os/stdfd.ha \ $(STDLIB)/os/fs.ha -$(TESTCACHE)/os/os.ssa: $(testlib_os_srcs) $(testlib_rt) $(testlib_io) $(testlib_strings) $(testlib_types) $(testlib_fs) $(testlib_encoding_utf8) +$(TESTCACHE)/os/os.ssa: $(testlib_os_srcs) $(testlib_rt) $(testlib_io) $(testlib_strings) $(testlib_types) $(testlib_fs) $(testlib_encoding_utf8) $(testlib_bytes) @printf 'HAREC \t$@\n' @mkdir -p $(TESTCACHE)/os @HARECACHE=$(TESTCACHE) $(HAREC) $(TESTHAREFLAGS) -o $@ -Nos \ @@ -924,7 +925,8 @@ testlib_path_srcs= \ $(STDLIB)/path/util.ha \ $(STDLIB)/path/join.ha \ $(STDLIB)/path/norm.ha \ - $(STDLIB)/path/names.ha + $(STDLIB)/path/names.ha \ + $(STDLIB)/path/iter.ha $(TESTCACHE)/path/path.ssa: $(testlib_path_srcs) $(testlib_rt) $(testlib_strings) $(testlib_bufio) $(testlib_bytes) @printf 'HAREC \t$@\n'