[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sugestion for Lout - token stack
From: |
Basile STARYNKEVITCH |
Subject: |
sugestion for Lout - token stack |
Date: |
Fri, 22 Mar 2002 09:28:18 +0300 (MSK) |
Dear Jeff (and all Louters)
While making a mistake (which was detected by Jeff) - forgotting a
@EndList after a @BulletList, I thought of a feature to avoid this
kind off unbalancing.
It would be to have 2 builtin keywords @PushToken and @PopToken
managing a stack of tokens; @PushToken foo will push the token (or
word) foo -and also the line position - on this stack, and @PopToken
foo check that the top of the token stack is foo, otherwise printing
an error message.
Then the lists macros could be eg
macro @RBL @RawBulletList { @RawList style { @Bullet }
@PushToken list }
macro @REL @RawEndList { // & endlist // @PopToken list }
what do you think?
regards.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net
alias: basile<at>tunes<dot>org
8, rue de la Faïencerie, 92340 Bourg La Reine, France
- sugestion for Lout - token stack,
Basile STARYNKEVITCH <=
- Re: sugestion for Lout - token stack, Jeff Kingston, 2002/03/22
- Re: sugestion for Lout - token stack, Erich Hoffmann, 2002/03/23
- Re: sugestion for Lout - token stack, Oliver Bandel, 2002/03/24
- Re: sugestion for Lout - token stack, Jeff Kingston, 2002/03/24
- Re: sugestion for Lout - token stack, Oliver Bandel, 2002/03/25
- Re: sugestion for Lout - token stack, Giovanni Zezza, 2002/03/25
- Re: sugestion for Lout - token stack, Oliver Bandel, 2002/03/30
- Re: sugestion for Lout - token stack, Giovanni Zezza, 2002/03/31
- Jeff's new programming language (Re: sugestion for Lout - token stack), Oliver Bandel, 2002/03/30