webidl: Parser and Pretty Printer for the Web IDL Language

[ bsd3, language, library, program ] [ Propose Tags ]

Web IDL is a dialect of OMG IDL used by the Web App group to specify component interfaces of Web applications. See also:

http://www.w3.org/TR/WebIDL/ - working draft of the specification

http://www.w3.org/2008/webapps/wiki/Main_Page - Web App group wiki

http://code.google.com/p/es-operating-system/ - an experimental Google - Nintendo project from which the lexer/parser files for Web IDL are borrowed.

The package provides a Web IDL parsing/pretty-printing library, and the two executable programs:

  • idltestlex: a debugging program which reads a Web IDL source from its standard input, and prints the list of tokens in raw format, as returned from the lexer.

  • idlppr: a debugging program which reads a Web IDL source from its standard input, parses, and pretty-prints it on its standard output. Non-JavaDoc comments, and preprocessor directives that the input might contain will not appear in the output. The program may be used to test the parser and pretty printer in the way that when idlppr reads a pretty-printed Web IDL source, the output should be identical to the input.

Changes from 1.1: the parser has been fixed to recognize outermost-declared scoped names (those starting with "::"), and allow for use of DOMString in typedefs and valuetypes, as the Web IDL working draft prescribes.


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.1, 0.1.1
Dependencies base (>=4.0.0 && <5.0), bytestring (>=0.9), HSFFIG (>=1.1), LEXER, parsec (>=2.0 && <3.0), pretty (>=1.0), utf8-env, utf8-string [details]
License BSD-3-Clause
Author Dmitry Golubovsky
Maintainer Dmitry Golubovsky <golubovsky@gmail.com>
Category Language
Uploaded by DmitryGolubovsky at 2009-06-08T02:55:59Z
Reverse Dependencies 1 direct, 0 indirect [details]
Executables idltestlex, idlppr
Downloads 1667 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]