Hi all,

Parsing words are defined differently now,

SYNTAX: FOO: bar ... ;

-vs-

: FOO: bar ... ; parsing

This change makes parsing words more consistent with macros (things
that change evaluation in a major way appear at the front instead of
using a declaration at the end). It also allowed me to change : to
read the effect directly, so this no longer works:

: foo bar ;

You have to say

: foo ( inputs -- outputs ) bar ;

The former syntax was only used for parsing words in practice, and
this makes a missing stack effect into a parse error rather than a
compile error.

Another change I made recently is that inference warnings for inline
words are not reported. Together with call(, this means it is now
possible to write 100% warning-free code.

Slava

------------------------------------------------------------------------------
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to