Commits


rework the grammar


cope with #...# comment style and shebang


fmt


add rules for ELSIF


temporarly disable the # ... # comment it clashes with the shebang, the initial #! should be excluded... Dunno how thought.


implement the loop bits for smie


fix the indentation for the conformity clause pretty name for the CASE on a UNION value


rework the grammar In Algol68 pretty almost everything seems to yield a value (except loops, mode declarations and... ?) so it's easier (and probably more correct) to have "exprs" instead of "insts" (instructions) everywhere. The "resolvers" are probably wrong, but so far they work.


handle the comma better


delete unused functions


start rewriting the indentation engine with SMIE


simplify the a68-comment-style defcustom It doesn't really make sense to ask for both the initial and closing comment delimiter when they are always the same, just ask for one of o # o CO o COMMENT


kill unused lexical variable


make comment style customizable


correctly highlight comments Algol68 support three styles of comments: 1) COMMENT ... COMMENT 2) CO ... CO 3) # ... # These can't be nested, although you can have things like COMMENT CO ... CO COMMENT as a whole comment because from `COMMENT' up to the next closer `COMMENT' is a single comment (duh.)