Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change dictionary generation to produce C accessors. | Vincent Sanders | 2015-08-30 | 1 | -1/+18 |
| | | | | | | This generates routines which correctly handle reading a member from a dictionary and returning it as the correct c type. Currently the types "any", "user" and "sequence" remain unhandled. | ||||
* | Add WebIDL parsing of dictionaries | Vincent Sanders | 2015-08-17 | 1 | -3/+8 |
| | | | | | | This adds correct parsing of dictionaries into the AST. These entries in the AST are not yet used but do not affect generation of interfaces. | ||||
* | Update the interface map to contain all operation arguments | Vincent Sanders | 2015-08-09 | 1 | -4/+18 |
| | | | | | | | | | This extends the interface map (the intermediate representation) to have information on every operations arguments including overloading and optional arguments. This is important to allow automated checking of passed parameters numbers and types in future. | ||||
* | Update the webidl parser to cope with specials and overloaded methods | Vincent Sanders | 2015-08-02 | 1 | -1/+8 |
| | |||||
* | Add property generation and add it to prototype construction | Vincent Sanders | 2015-07-29 | 1 | -6/+8 |
| | |||||
* | Load the WebIDL files specified in the binding | Vincent Sanders | 2015-07-22 | 1 | -13/+81 |
| | | | | | | | | | | | | | This loads the WebIDL specified in the bindings into an Abstract Syntax Tree (AST) and performs the mixin operations for implements. Additionally the specs now use a slightly extended IDL syntax. Instead of wholesale implementing the second edition of the IDL spec the parser has been updated to cope with iterator and Promise keywords as those are the only changes used in the dom and html specifications. A bug was also fixed in the lexer where negative int literals were not recognised. | ||||
* | Expand implements statements in the AST after it has been built | Vincent Sanders | 2014-05-16 | 1 | -6/+119 |
| | | | | | | | This greatly simplifies output generation because instead of dealing with implements on every traverse they are expanded once. Additionaly errors in expansion are found and generate error early. | ||||
* | add function and property enumerations to the interface map | Vincent Sanders | 2014-05-16 | 1 | -0/+20 |
| | |||||
* | annotate the webIDL AST with extended attributes | Vincent Sanders | 2013-01-28 | 1 | -4/+26 |
| | |||||
* | add type suffix annotations to webidl AST | Vincent Sanders | 2012-11-27 | 1 | -0/+6 |
| | |||||
* | implement unshared output in property specifier | Vincent Sanders | 2012-11-20 | 1 | -7/+11 |
| | |||||
* | add AST construction of constants in interfaces | Vincent Sanders | 2012-11-11 | 1 | -0/+4 |
| | |||||
* | implement the "implements" webidl directive | Vincent Sanders | 2012-10-31 | 1 | -12/+8 |
| | |||||
* | The name of teh tool is nsgenbind correct this everywhere | Vincent Sanders | 2012-10-23 | 1 | -4/+4 |
| | |||||
* | add includes in binding files to allow binding definitions to be split up | Vincent Sanders | 2012-10-21 | 1 | -11/+13 |
| | |||||
* | construct input variables | Vincent Sanders | 2012-10-11 | 1 | -4/+19 |
| | |||||
* | fix polymorphism in teh AST generation | Vincent Sanders | 2012-10-04 | 1 | -18/+57 |
| | |||||
* | add modifier to allow setting of readonly or unsigned etc. | Vincent Sanders | 2012-09-26 | 1 | -3/+28 |
| | | | | add property getter/setter body | ||||
* | put return type in argument list so we can have multiple prototypes per ↵ | Vincent Sanders | 2012-09-25 | 1 | -3/+3 |
| | | | | operation (method) | ||||
* | add interface function return type | Vincent Sanders | 2012-09-24 | 1 | -2/+3 |
| | |||||
* | add interface function argument and type processing | Vincent Sanders | 2012-09-24 | 1 | -7/+47 |
| | |||||
* | add basic function body creation | Vincent Sanders | 2012-09-24 | 1 | -0/+6 |
| | |||||
* | cope with partial interfaces | Vincent Sanders | 2012-09-20 | 1 | -11/+29 |
| | |||||
* | add property and function array generation | Vincent Sanders | 2012-09-20 | 1 | -0/+67 |
| | |||||
* | add search function | Vincent Sanders | 2012-09-17 | 1 | -2/+2 |
| | |||||
* | add preamble output | Vincent Sanders | 2012-09-14 | 1 | -0/+4 |
| | | | | add operation nodes to webidl ast | ||||
* | fixus interface memer attributes | Vincent Sanders | 2012-09-14 | 1 | -9/+15 |
| | |||||
* | add debug dump to webidl | Vincent Sanders | 2012-09-13 | 1 | -21/+114 |
| | |||||
* | clean up AST building for both parsers | Vincent Sanders | 2012-09-10 | 1 | -15/+27 |
| | |||||
* | add copyright and licence notices | Vincent Sanders | 2012-09-07 | 1 | -0/+8 |
| | |||||
* | add preamble blocks delinited by [[[ and ]]] | Vincent Sanders | 2012-09-06 | 1 | -1/+1 |
| | | | | Improve separation of binding file handling | ||||
* | initial output generation | Vincent Sanders | 2012-09-06 | 1 | -0/+71 |