Commit Graph

35 Commits

Author SHA1 Message Date
8130ba6b7a Renamed the code converter's file. 2022-06-04 23:51:00 +02:00
36742b210b Moved the scene converter code to it's own file. 2022-06-04 23:47:41 +02:00
83414ab259 Implemented the scene to cpp conversion tool. 2022-06-04 23:40:28 +02:00
fe725e4da4 Don't add method default parameters inot cpp files. 2022-06-04 16:32:11 +02:00
06642b4afa Added a new binder class generator. 2022-06-04 16:29:31 +02:00
422606d526 Also implemented generating method binds for the rest of the available non-static methods. 2022-06-04 13:42:44 +02:00
0fc106ee03 The code converter now generates properties from the automatically created getters and setters. 2022-06-04 13:22:43 +02:00
5890a7cef3 More work on the scene to cpp converter. 2022-06-04 13:01:41 +02:00
7833c0d153 Fixed scope orders. 2022-06-04 09:41:59 +02:00
97c5fbc9fc Fix doulbe semicolons. 2022-06-04 08:52:00 +02:00
3b6d9c4b35 Replace "and"s and "or"s to && and || when needed. 2022-06-04 08:46:27 +02:00
97cc4886e3 Transform fors if possible. 2022-06-04 08:43:16 +02:00
2eb04ef96f Fix variable transforms inside methods. 2022-06-04 08:25:03 +02:00
e28b7cfb82 Fix handling else ifs. 2022-06-04 08:05:16 +02:00
a92c488a82 Handle static keyword. 2022-06-04 08:04:37 +02:00
ab986942e0 Started work on a new scene to code converter tool, but I'll postpone it for now. 2022-06-03 22:33:00 +02:00
0b7964f01b Move the parser code to a new file. 2022-06-03 21:06:28 +02:00
2bf13be369 Remove comment. 2022-06-03 20:46:13 +02:00
a5f5adae08 Actually write the cpp and header files. 2022-06-03 20:45:44 +02:00
4cf588b5bf Implementation generation. 2022-06-03 20:39:01 +02:00
7541121668 Implemented getter and setter generation for class variables. 2022-06-03 20:01:53 +02:00
54b2330447 Fix enums. 2022-06-03 18:39:54 +02:00
9fff3d2430 Implemented variable transforms. 2022-06-03 18:36:35 +02:00
faffbadf36 Handle comments at after code lines better. 2022-06-03 17:33:30 +02:00
6341759d8e Put class variables to the bottom of the class. 2022-06-03 17:26:07 +02:00
bb178cfa54 CamelCase classes. 2022-06-03 17:18:47 +02:00
caf1fb1a39 Also handle setget. 2022-06-03 17:10:10 +02:00
4322dcbbcb Implemented method transformations. 2022-06-03 17:07:35 +02:00
653dc83e1c Split export keywords to new lines. 2022-06-03 15:07:39 +02:00
fcee8a2f39 Also generate a constructor, destructor, and _bind_methods. 2022-06-03 15:00:43 +02:00
2bf79007a2 Header generation. 2022-06-03 14:56:25 +02:00
b7522472cd Mostly class related improvements to the parser. 2022-06-03 13:58:19 +02:00
e44bf42190 Parse scope data. 2022-06-03 13:19:31 +02:00
aaf2ca9c2e Fix scope parsing of the converter plugin, and make printing parsed data better. 2022-06-03 12:45:03 +02:00
d803ecf2cd Started working on a new simple addon, that should help with porting gdscript (my addons -> my codestyle) to cpp in the future. I'm not planning on doing anything fancy, just something relatively simple that would do most of the trivial, but tedious stuff. 2022-06-03 01:25:50 +02:00