From: Helmut Eller Date: Mon, 19 Dec 2016 20:45:50 +0000 (+0100) Subject: Recognize Forth 2012 number syntax X-Git-Url: http://git.subgeniuskitty.com/pforth/.git/commitdiff_plain/40c6f87ff261cacf78377241c8746da1aaa504c5?hp=40c6f87ff261cacf78377241c8746da1aaa504c5 Recognize Forth 2012 number syntax Forth 2012 adds more convenient syntax for numbers and characters. * csrc/pf_words.c (ffWord): Don't upcase input. Without this change we can't support the '' syntax. (ffNumberQ): Recgonize new syntax. * fth/numerio.fth (>number-with-base): New helper. (((NUMBER?))): Recognize new syntax. * fth/t_corex.fth: Add test for number prefixes, from Gerry Jackson's Forth2012 test suite. ---