type2/examples/arithmetics/readme.md
2022-03-20 21:46:49 +01:00

238 B

Usage

  • cat examples/arithmetics/arithmetics.tp2 | tools/conv > /tmp/arithmetics.tp2.json
  • echo '2+3' | build/type2 /tmp/arithmetics.tp2.json
  • echo '(2+3)*5' | build/type2 /tmp/arithmetics.tp2.json | examples/arithmetics/eval