Re: [Jsdsi-devel] SimpleTag -- ALL_TAG
Status: Pre-Alpha
Brought to you by:
sajma
From: Michael J. <mij...@in...> - 2003-08-06 07:14:02
|
Hey, now it seems that everybody is on the ship again! Great to hear from you both! On Tuesday 05 August 2003 16:41, Sameer Ajmani wrote: | Here's a revised grammar that may work: | | <tag-all>:: "(*)" ; | <tag-expr>:: <tag-set> | <tag-simple> | <tag-string> ; | <tag-expr-or-all>:: <tag-expr> | <tag-all>; | <tag-prefix>:: "(" "*" "prefix" <byte-string> ")" ; | <tag-range>:: "(" "*" "range" <range-ordering> <low-lim>? <up-lim>? | ")" ; | <tag-set>:: "(" "*" "set" <tag-expr>* ")" ; | <tag-simple>:: "(" <byte-string> <tag-expr-or-all>* ")" ; | <tag-string>:: <byte-string> | <tag-range> | <tag-prefix> ; | <tag>:: "(" "tag" <tag-expr-or-all> ")" ; | | I've replaced "tag-star" with "tag-all" and renamed "simple-tag" to | "tag-simple". The most important facet of this grammar is that | "tag-all" may NOT appear inside a "tag-set" (if it could, the whole set | could just be replaced by "tag-all"). Sameer, your revised grammar should work -- in principle this is the way I solved this issue for my thesis. As I'm actually working for a company I can't say how much time this will take me to do, but my plan is to first write a JUnit-test and after that maybe I will first start to implement the parsing stuff with JavaCC. Hopefully I will start my Ph.D. soon, because then I will hopefully have more time to work on JSDSI :-). | Nice ot hear you guys are working on this :) | I've been going crazy trying to get my Ph.D. done (on another topic). How is your Ph.D. doing, Sameer? Have you done it? I whish you all the best. Michael. |