all repos — min @ 41457007e36ed75329baafa3c10b3392cf88be8a

A small but practical concatenative programming language.

build_guide.min

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
"doc" cd

(
  "overview.md"
  "usage.md"
  "reference.md"
) ' :files

"" :doc

"Reading files..." puts!


("- Reading: $1" swap ' % puts!) :echofile
"MiNiM_UserGuide.md" :fname

files (dup echofile fread doc swap concat @doc) foreach

doc fname fwrite

"Generating: $1" 'fname % puts!

"hastyscribe $1" (fname) % !

.. cd

"Done." puts!