Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] IRC Protocol (I give up ) Re:(7)

From: bhandley:zip:au at: 10-Sep-2000 18:25

<message> ::= [':' <prefix> <SPACE> ] <command> <params> <crlf>
> <prefix> ::= <servername> | <nick> [ '!' <user> ] [ ['--'] <host> ] > > It could be nice to have a REBOL function to actually parse (any) > whole 'pseudo' BNF formatted description.. > > /PeO
I agree. I started looking at a function like this (given the number of EBNF floating around but unfortunately have not produced anything remotely useful. Though the exercise taught me a heap about all sort of things I didn't know before... Problems struck include "backtracking". I found a relevent scscript called search-text.r (on by Eric Long that takes regular expressions - but again I got lost. So I second the motion, it would be nice to a such a function :) Brett.