Commit Graph

12 Commits

Author SHA1 Message Date
09138d762c Ported: Use hash table for GDScript parsing
GDScript now uses hash table for lookup of type lists / functions / keywords, instead of linear String comparisons.
- lawnjelly
19f2006ec0
2023-03-18 09:44:01 +01:00
2cd4e4d828 Renamed Set to RBSet. 2023-01-15 19:42:08 +01:00
1b0aac6028 Renamed Map to RBMap. 2023-01-15 19:12:50 +01:00
d41239d425 Now the return value discarded warning is disabled by default in gdscript and cscript. 2022-08-23 13:09:56 +02:00
88d6ef51eb Removed additional direct script rpc mode query when sending rpcs, in order to simplify that codepath as much as possible. Also removed the remote, remotesync etc. keywords from gdscript, as now they won't work anymore. Node's rpc_config() method should be used instead of marking methods with keywords in scripts. 2022-08-19 01:19:33 +02:00
04feb63860 Moved Engine and projectSettings. 2022-08-17 15:35:28 +02:00
bd391e6fc7 Did the same change to cscript aswell. 2022-07-29 23:07:19 +02:00
c8579ef63f Removed yield from cscript. 2022-07-13 00:38:23 +02:00
8611d7d9c8 Removed rpc keywords from cscript. Note that networking should still work with it using rset_config (like how it works in engine side code). 2022-07-13 00:07:10 +02:00
6b2db83031 Change script extension. 2022-07-12 21:38:17 +02:00
e92d4e0f97 Mass rename classes in the cscript module. 2022-07-12 19:55:21 +02:00
e687fc6a4a Added a new cscript module. It's a copy of gdscript, and it's build is disabled for now. I plan to experiment with it to have a scripting language that's syntax is as close to c (c++) as possible. 2022-07-12 12:20:34 +02:00