Joel Uckelman on Sat, 4 Dec 2004 00:54:54 -0600 (CST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[nimh-dev] sequences


I decided to do sequence parsing in the simplest possible way, which uses 
range(). If
this turns out to be too slow, we can always make it more efficient later.

You can use nimh_sequence.py to do useful things like display the internal 
representation of sequences from your inbox. Right now, the following 
sequences work:

first, last, cur, ., prev, next, new, all
x-y, where x and y are numbers or singular names

More complex sequences like x:y, unseen, pseq, negation, and user-defined 
sequences don't work yet.

-- 
J.


_______________________________________________
nimh-dev mailing list
nimh-dev@xxxxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/nimh-dev