hare

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

commit 04b93b6e5ba494f7ae8c65d08f9b10fd07173b66
parent b030669fdd8ad27aa84cbaf769e12109d7deff02
Author: Drew DeVault <sir@cmpwn.com>
Date:   Wed, 10 Mar 2021 10:45:45 -0500

Update stdlib

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

diff --git a/gen-stdlib b/gen-stdlib @@ -427,7 +427,8 @@ strings() { sub.ha \ suffix.ha \ tokenize.ha \ - utf8.ha + utf8.ha \ + index.ha gen_ssa strings bytes encoding::utf8 types } diff --git a/mk/stdlib.mk b/mk/stdlib.mk @@ -484,7 +484,8 @@ stdlib_strings_srcs= \ $(STDLIB)/strings/sub.ha \ $(STDLIB)/strings/suffix.ha \ $(STDLIB)/strings/tokenize.ha \ - $(STDLIB)/strings/utf8.ha + $(STDLIB)/strings/utf8.ha \ + $(STDLIB)/strings/index.ha $(HARECACHE)/strings/strings.ssa: $(stdlib_strings_srcs) $(stdlib_rt) $(stdlib_bytes) $(stdlib_encoding_utf8) $(stdlib_types) @printf 'HAREC \t$@\n' @@ -1022,7 +1023,8 @@ testlib_strings_srcs= \ $(STDLIB)/strings/sub.ha \ $(STDLIB)/strings/suffix.ha \ $(STDLIB)/strings/tokenize.ha \ - $(STDLIB)/strings/utf8.ha + $(STDLIB)/strings/utf8.ha \ + $(STDLIB)/strings/index.ha $(TESTCACHE)/strings/strings.ssa: $(testlib_strings_srcs) $(testlib_rt) $(testlib_bytes) $(testlib_encoding_utf8) $(testlib_types) @printf 'HAREC \t$@\n'