Skip to content

Commit

Permalink
Add lweave abstract list type. Lweave inter-weaves each element from …
Browse files Browse the repository at this point in the history
…each list into a single list. This implementation is incomplete; replace, and range operations not yet supported.
  • Loading branch information
bgriffinfortytwo committed Oct 19, 2023
1 parent 9e0cdf2 commit 94b0f4a
Show file tree
Hide file tree
Showing 4 changed files with 821 additions and 0 deletions.
3 changes: 3 additions & 0 deletions altoys.mk
Expand Up @@ -42,6 +42,9 @@ lstring.so: lstring.c $(TCL_STUBLIB)
lgen.so: lgen.c $(TCL_STUBLIB)
gcc -g $(CFLAGS) $< -o $@ -m64 $(LIBS) --shared

lweave.so: lweave.c $(TCL_STUBLIB)
gcc -g $(CFLAGS) $< -o $@ -m64 $(LIBS) --shared


test: all all.tcl $(TARGETS)
$(TCLSH) all.tcl

0 comments on commit 94b0f4a

Please sign in to comment.