all repos — min @ 16a2b9fe00331f30c5ab2e8c34bdbb924902c702

A small but practical concatenative programming language.

tests/io.min

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
@test
#test

"io" describe

  ("TEST" "test.txt" fwrite
   "test.txt" fread "TEST" ==) assert
  
  (" - TEST" "test.txt" fappend
   "test.txt" fread "TEST - TEST" ==) assert

  "test.txt" rm
  report
  clear