This is the Message Centre for MaW
- 1
- 2
Software for GuideML
MaW Posted Apr 11, 2001
I'm talking of the latter one. Context-free languages are far too restrictive to cover a natural language like English. The best I could end up with (after about five years of work) would probably be something like the grammar checker in Microsoft Word...
No, it's going to be an XML syntax checker basically, that will (if I ever make it work, which I think I can do) eventually be able to tell you if you've used any GuideML tags that aren't Approved - i.e. not recommended for the Edited Guide (as per the GuideML Clinic) and if you've used any tags that aren't actually GuideML tags, and so forth. A bit like h2g2's error messages when you get something wrong, but hopefully more helpful...
This is looking a way ahead though.
* goes off to study pushdown automata some more *
Software for GuideML
Menza Posted Apr 11, 2001
If they release the definitions file for GuideML it shouldn't be too hard to plug in an existing generic XML syntax checker. Anytime they update GuideML you could plug the new definition file in and it would still work. Minimal future development.
Software for GuideML
MaW Posted Apr 11, 2001
Yeah, but it's more fun to write it myself...
And are there any XML syntax checkers written in Pascal? Not that I've seen...
I'd rather write my own. It'll do me good.
Software for GuideML
Jeremy (trying to find his way back to dinner) Posted Apr 11, 2001
That would be great, MaW. I'd really appreciate to get my error while I'm still offline.
Software for GuideML
Bruce Posted Apr 11, 2001
One easy way to do a preview (that auto updated any tag changes on h2g2) would be to "borrow" the HTML from http://www.bbc.co.uk/h2g2/guide/UserEdit - you could use only the preview button part of the code for the form.
;^)#
Software for GuideML
MaW Posted Apr 11, 2001
Nice idea Bruce - but that would be cheating. I will of course have to make sure I can easily update GuidePost to match GuideML changes though... I'll have to take that into account when I design the syntax checker.
* ideas churning *
Key: Complain about this post
- 1
- 2
Software for GuideML
More Conversations for MaW
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."