mitra42 / webForth

Forth for the web - implemented in JS and other web technologies
https://www.mitra.biz/forth/console.html
GNU Affero General Public License v3.0
27 stars 1 forks source link

Tests should be commentable out in one place #40

Closed mitra42 closed 3 years ago

mitra42 commented 3 years ago

Idea is to define //TEST that skips ahead unless testing. and use on all lines ending TEST

mitra42 commented 3 years ago

Working \T Either acts as a comment - excluding the line completely, or is ignored running what is presumably a test, Its all switched up the top of the file, so easy to leave testing off until/unless developing on the code.