[Omake] SVN Commit: OMake Build System [0.9.8.x] (Rev. 12497)
Jason Hickey
jyh at cs.caltech.edu
Fri Nov 9 12:56:08 PST 2007
By version, do you mean omake version like 0.9.8.7?
Python does it a little differently, by using logical names for the
syntax variants. This seems a little easier to me, but you could
still have multiple minor modes. It is all kind of mysterious to me,
but I suppose I can imagine something like,
.LANGUAGE: program: arrow-funs keyword-arguments super-gobsnopper-
frobnatz
Problem is, at the moment, there are exactly 0 minor modes.
Jason
On Nov 9, 2007, at 10:28 AM, Aleksey Nogin wrote:
> On 01.11.2007 19:27, Jason J. Hickey wrote:
>
>> Switched from
>>
>> program-syntax
>>
>> to
>>
>> .LANGUAGE: <mode>
>>
>> where <mode> is either "program", or "make".
>>
>> There are no minor modes -- I'm not sure why we would need them...
>>
> The minor modes were meant for version tracking - it is inevitable
> that
> we will make some incompatible changes in the future - the keywords
> syntax change and the "=>" binding syntax change that we are making
> right now is extremely unlikely to be the last one.
>
> If we track the versions and if we process the .LANGUAGE directive at
> parse-time, then we can have meaningful error messages for new-syntax
> files in old-version OMake instead of all kinds of weird syntax error
> messages.
>
> Aleksey
> _______________________________________________
> OMake-Devel mailing list
> OMake-Devel at metaprl.org
> https://lists.metaprl.org/mailman/listinfo/omake-devel
--
Jason Hickey http://www.cs.caltech.edu/~jyh
Caltech Computer Science Tel: 626-395-6568 FAX: 626-792-4257
More information about the OMake-Devel
mailing list