Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Global variable errtxt is defined in two separate files. | Samuel Holland | 2019-02-15 | 1 | -1/+1 |
| | | | | This is a minor C standard conformance issue, and causes the build to fail with a duplicate symbol error when CFLAGS includes "-fno-common". The following patch fixes the issue by making the variables static. | ||||
* | Fix YYLTYPE nonsense with bison >=3.0 | John-Mark Bell | 2018-01-20 | 1 | -0/+8 |
| | |||||
* | restructure AST node creation to avoid casts | Vincent Sanders | 2016-11-27 | 1 | -11/+11 |
| | | | | | | | | | | | | | | | | This changes Abstract Syntax Tree node creation for both webidl and genbind syntax tress. If a node is to be created with a numeric value instead of a pointer a separate API is now used instead of casting through void. This fixes parsing and AST building on big endian 64bit platforms where casting through void, which is completely undefined behaviour, generates different and non-functioning code. The solution in this patch is properly portable and correct without relying on casting at all. Thanks to James Clarke <jrtc27@jrtc27.com> for the original debugging and patch demonstrating how to work round the bug. | ||||
* | fix ambiguity in grammar around class arguments | Vincent Sanders | 2016-02-07 | 1 | -4/+2 |
| | |||||
* | Correctly annotate unused variables with a macro | Vincent Sanders | 2016-02-06 | 1 | -2/+5 |
| | |||||
* | Extend the permitted values of the binding method names | Vincent Sanders | 2015-10-12 | 1 | -2/+21 |
| | |||||
* | Allow empty classes | Vincent Sanders | 2015-09-28 | 1 | -5/+9 |
| | |||||
* | annotates binding AST with source linenumber and file | Vincent Sanders | 2015-09-28 | 1 | -4/+14 |
| | | | | | Uses annotated AST to put line directives in the generated source so any code errors in the binding can be easily located. | ||||
* | Improve the parser error reporting | Vincent Sanders | 2015-09-28 | 1 | -12/+75 |
| | | | | | | | The parser now reports the correct file and line number for errors. Additionally the @n location structure in rules now has a filename member in addition to first_line. These members are useful for adding location information in generated source. | ||||
* | Simplify genbind AST handling of preface, prologue, epilogue and postface | Vincent Sanders | 2015-09-26 | 1 | -96/+76 |
| | |||||
* | Make the binding parser understand c types | Vincent Sanders | 2015-09-25 | 1 | -101/+118 |
| | | | | | | Instead of c types being opaque strings this makes the bindig parser understand them. This is necessary for extended attribute parsing in future but also makes the binding more easily understandable. | ||||
* | Add ptototype method type to binding | Vincent Sanders | 2015-08-05 | 1 | -0/+6 |
| | | | | | This allows additional cdata to be added to the generated prototype constructor. | ||||
* | Fix initialiser parameter list | Vincent Sanders | 2015-08-02 | 1 | -1/+5 |
| | | | | | | The initialiser parameter list parsing was missing creation of a parameter node in the AST and the parameter iterator was looking for a method node instead of a paramter node. | ||||
* | make the duktape libdom generator output initializers | Vincent Sanders | 2015-07-26 | 1 | -47/+77 |
| | |||||
* | chnage binding AST to put methds inside class nodes | Vincent Sanders | 2015-07-22 | 1 | -3/+44 |
| | |||||
* | Change binding grammar to new approach. | Vincent Sanders | 2015-07-21 | 1 | -170/+216 |
| | |||||
* | add flags to interface within binding | Vincent Sanders | 2014-05-16 | 1 | -2/+52 |
| | |||||
* | move binding type from explicit statement into declaration. | Vincent Sanders | 2014-05-16 | 1 | -12/+1 |
| | | | | | As a side effect the binding declaration changes and looses its (unused) name/identifier | ||||
* | cope with older bison deirectives to get a pure parser | Vincent Sanders | 2014-05-02 | 1 | -1/+4 |
| | |||||
* | extend binding DSL with prologue and epilogue stanzas | Vincent Sanders | 2013-01-02 | 1 | -2/+26 |
| | |||||
* | name and docuemnt the binding property attribute | Vincent Sanders | 2012-11-21 | 1 | -9/+15 |
| | |||||
* | make property shared status and type handling selection generic | Vincent Sanders | 2012-11-21 | 1 | -11/+43 |
| | |||||
* | allow unshared parameter to accept property names as well as types | Vincent Sanders | 2012-11-20 | 1 | -0/+6 |
| | |||||
* | add unshared option | Vincent Sanders | 2012-11-20 | 1 | -1/+13 |
| | |||||
* | implement basic property getter functionality | Vincent Sanders | 2012-10-29 | 1 | -0/+34 |
| | |||||
* | add internal and API to binding language | Vincent Sanders | 2012-10-29 | 1 | -6/+37 |
| | | | | split out class operation, initialisation and new generation | ||||
* | The name of teh tool is nsgenbind correct this everywhere | Vincent Sanders | 2012-10-23 | 1 | -0/+228 |