Commit Graph

23 Commits

Author SHA1 Message Date
Ray f7ed804131 Review parameters description size (not used) 2022-01-05 21:35:01 +01:00
gtrxAC 2e3cfdcc2f
JSON parser: Use array for function params (#2255) (#2264)
* JSON parser: Use array for function params (#2255)

* Parser: follow C convention of type before name
2022-01-04 14:06:10 +01:00
raysan5 a940f41b4b Update year to 2022 2021-12-31 20:06:22 +01:00
Benedek Szilvasy 51c929ef21
Parse struct descriptions (#2214)
* Update struct parser to parse from lines buffer

* Parse struct description

* Fix erroneous comment
2021-12-16 16:34:55 +01:00
Ray 55d310fcc3 REVIEWED: EscapeBackslashes() in raylib-parser 2021-12-16 14:59:40 +01:00
Benedek Szilvasy fffd78e7c8
Parse enum descriptions and value descriptions (#2208)
* Parse enum descriptions and value descriptions

* Put braces on newline

* Properly escape strings

* Realise that XML doesn't actually need backslash escapes

* Replace FPrintfEscapes with EscapeBackslashes

* Remove #include <stdarg.h>

* Update EscapeBackslashes description
2021-12-16 14:49:17 +01:00
Ronnie Holm 6342cf103a
Fix memory leak in parser (#2136) 2021-11-13 18:40:35 +01:00
iskolbin 802a1a1529
added LUA output format for parser; added Makefile for raylib_parser; added raylib_api.lua parser result; added raylib_parser binary to gitignore (#2129) 2021-11-11 18:12:30 +01:00
Laurentino Luna 15fffa12a6
Update parser files (#2125) 2021-11-10 00:30:21 +01:00
Ray 86d3e68d55 Add proper license to raylib-parser 2021-11-02 12:03:42 +01:00
Ray 290d68c11e
Update README.md 2021-11-02 12:00:23 +01:00
Chris 9882796df0
Rename BRDG typo to BDRF (#2028) 2021-10-02 14:07:42 +02:00
Richard Smith cac856119c
Change GetColor to take unsigned int (#1954) 2021-08-26 17:31:01 +02:00
iskolbin 6ef3ab3d3a
impoves raylib_parser: makes it generic, adds -d key for functions define (RLAPI for raylib.h), increases maxiumum number of fields in structs and values in enums, doubles max length of struct field names; split float3/float16 struct typedefs in raymath to allow parser to process the file (#1901) 2021-07-29 20:37:44 +02:00
raysan5 8809ae66c6 REVIEWED: Possible memory leak 2021-07-16 16:11:22 +02:00
Ray d875891a3c Improved raylib parser to export data as XML
- Improved command-line
 - Added XML support
 - Added sample outputs: DEFAULT, JSON, XML
 - Reviewed LoadFileText() bug
 - Removed trailing spaces
2021-06-13 16:34:51 +02:00
Tobias Mock 929fa5780d
Add nullptr check before passing arg (#1825) 2021-06-13 11:52:24 +02:00
Deathbat2190 9681a072d0
Fix parsing multiple struct fields defined in one line (#1813) 2021-06-06 13:22:42 +02:00
Rob Loach 32f3f53718
parser: Add JSON support with --json (#1812) 2021-06-06 10:21:56 +02:00
Deathbat2190 2efb5a36ca
Small parser bugfix (#1805) 2021-06-02 20:47:37 +02:00
Ray 565319184c Reviewed struct field name 2021-05-31 12:37:03 +02:00
Ray a178a2170b Structs tweaks for consistency 2021-05-30 13:34:02 +02:00
Ray 3c1c13b660 ADDED: raylib header parser 2021-05-30 11:51:15 +02:00