On Mon, Aug 25, 2014 at 10:02:50PM +0100, Dominik Vogt wrote:
> On Mon, Aug 25, 2014 at 09:23:58PM +0100, Thomas Adam wrote:
> > On Mon, Aug 25, 2014 at 08:04:16PM +0100, Dominik Vogt wrote:
> > > No need to apologise for anything. Maybe, if we could agree that
> > > you work through the command list from the beginning, I could do
> > > some work at the end when there's time.
> >
> > And eventually meet in the middle? :) OK, I can do that. I fear
> > though that working from the end you're going to encounter a slightly
> > harder time in terms of definition.
>
> That's fine with me. After all, many of these parsing classes
> were written by me. I've got up to warptowindow now (pushed).
> Maybe you want to skip the conditional commands and the direction
> definitions because I'm already doing that (all added at the end,
> we can clean that up later).
Okey dokey, will do.
> > Note that we're accumulating a number of outstanding definition, notably
> > these:
> >
> > TOKEN
> > STRING
> > RESTOFLINE
> > RESTOFLINE_COMMAND
>
> Actually, we won't be able to capture the tokenisation in the
> Abnf. At the moment we're more writing down the semantics without
> caring about whitespace, linebreaks, quoting and tokens. Let's
> continue this work for now; I need to get a feeling what
> tokenisation really means in terms of writing Abnf.
It's going to be a pain---and you don't need me to tell you that ontop
of the use of Get{One,Two}PercentArgument() and GetIntegerArgument(),
etc., some commands then further extend the definitions of their own
semantics. I had hoped in the case of conditional commands, for
instance, there could be a common [EA]BNF notation for them, but I don't
think that's going to be feasible---so there's going to be a lot of
duplication for the special-casing, unfortunately.
> Er, my uses of STRING up to now mean just "something that I don't
> know how to define at the moment". :-)
Heh! In that case, I'll use it as a placeholder as well.
-- Thomas Adam
--
"Deep in my heart I wish I was wrong. But deep in my heart I know I am
not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)