awk: generate awk.sh. Update docs/TODO.
authorJoel Martin <github@martintribe.org>
Sat, 31 Oct 2015 03:30:56 +0000 (22:30 -0500)
committerJoel Martin <github@martintribe.org>
Sat, 31 Oct 2015 03:30:56 +0000 (22:30 -0500)
awk/Makefile
docs/TODO

index 9ee6c31..2308b50 100644 (file)
@@ -6,7 +6,13 @@ SOURCES_BASE = types.awk reader.awk printer.awk
 SOURCES_LISP = env.awk core.awk stepA_mal.awk
 SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
 
-all:
+all: mal.awk
+
+mal.awk: $(SOURCES)
+       echo "#!/usr/bin/awk -f" > $@
+       cat $+ | grep -v "^@include " >> $@
+       chmod +x $@
+
 
 .PHONY: stats tests $(TESTS)
 
index 95f39bd..ca69cef 100644 (file)
--- a/docs/TODO
+++ b/docs/TODO
@@ -1,14 +1,15 @@
+---------------------------------------------
+
 All:
     - Finish guide.md
 
     - test that *ARGV* gets set properly
     - test to make sure slurp captures final newline
-    - Give runtest knowledge of optional tests and report as non-fatal
     - regular expression matching in runtest
     - add re (use in rep) everywhere and use that (to avoid printing)
     - per impl tests for step5_tco, or at least a better way of
       enabling/disabling/tweaking per implementation
-    - fix stepA failures: lua matlab miniMAL perl racket
+    - fix stepA soft failures: lua matlab miniMAL perl racket
 
 Other ideas for All:
     - propagate/print errors when self-hosted
@@ -96,6 +97,9 @@ Mal:
     - line numbers in errors
     - step5_tco
 
+MATLAB:
+    - Port to support both GNU Octave and MATLAB
+
 miniMAL:
     - figure out why {} literals are "static"/persistent
 
@@ -140,4 +144,7 @@ Scala
 VB.Net
     - convert readline.cs to readline.vb
 
+Vimscript:
+    - fix perf^vimscript when in docker (/dev/stdout permission
+      denied)