Commit graph

  • 116aa7996f Removed local stack from context arookas 2016-02-01 19:15:21 -05:00
  • ba559b3fa3 Compile only used functions/builtins arookas 2016-02-01 15:53:14 -05:00
  • dc559130bf Added RemoveAt function arookas 2016-02-01 15:50:56 -05:00
  • db6739be42 Refactored mangling function arookas 2016-02-01 15:50:46 -05:00
  • 1d324baf9d Added indexer arookas 2016-02-01 15:41:31 -05:00
  • f76c5126b9 Moved compilation steps to their own functions arookas 2016-02-01 15:06:35 -05:00
  • 37280f45d2 Added remove function arookas 2016-02-01 14:58:55 -05:00
  • e12607790f Added compile-count property to callable symbols arookas 2016-02-01 14:58:40 -05:00
  • 08ca27a4b9 Added clean-symbols option arookas 2016-02-01 14:23:24 -05:00
  • b147006ffe Removing packed variables mode arookas 2016-02-01 14:16:10 -05:00
  • 30c3f6f19c Cleanup arookas 2016-02-01 14:14:09 -05:00
  • 76b57ca3f8 Fixed: code gen for system builtins arookas 2016-02-01 14:04:57 -05:00
  • 193374ae50 Fixed: close all relocations, not just callsites arookas 2016-02-01 14:04:29 -05:00
  • dc223e5c26 Fixed: correctly resolve storable symbols arookas 2016-02-01 14:03:56 -05:00
  • 6f1dec212b Remove space from file name arookas 2016-02-01 14:02:56 -05:00
  • 53a50fb62c Added CreateCallSite arookas 2016-02-01 12:45:12 -05:00
  • d384899888 Made variables open relocations arookas 2016-02-01 12:39:30 -05:00
  • 39617cbaf7 Fixed: leftover override arookas 2016-02-01 12:38:12 -05:00
  • 485c703f20 Made display and index writable arookas 2016-02-01 12:33:25 -05:00
  • c3e358adba Moved call-site behavior to base class arookas 2016-02-01 12:33:04 -05:00
  • 436718ecf0 Added relocation types arookas 2016-02-01 12:24:57 -05:00
  • 8c655bb110 Changed WriteCALL functions arookas 2016-02-01 12:20:55 -05:00
  • 07646b11b3 Minor cleanup arookas 2016-02-01 11:45:52 -05:00
  • 8e093a98c7 Minor cleanup arookas 2016-02-01 06:30:32 -05:00
  • 9373c59c44 Minor cleanup arookas 2016-02-01 06:23:59 -05:00
  • f00b7c4296 Fixed: construct file instance with absolute path arookas 2016-02-01 06:23:31 -05:00
  • 03fb7c20b4 Fixed: fully qualify the path arookas 2016-02-01 06:21:01 -05:00
  • 4d86f6449b Normalize path delimiters arookas 2016-02-01 06:17:22 -05:00
  • bb28e47117 Fixed: const callables still flagged expressions as dynamic arookas 2016-02-01 06:02:21 -05:00
  • 4aebe57432 Fixed: return null instead of throwing an exception arookas 2016-02-01 05:51:04 -05:00
  • 5292b55078 Fixed: default kept state between compilations arookas 2016-02-01 05:48:12 -05:00
  • 8246538bbb Ensure the seed is an integer arookas 2016-02-01 05:44:29 -05:00
  • b71a38bb34 Fixed: use the current local number arookas 2016-02-01 05:34:56 -05:00
  • 7fca910e8e Fixed: variables were always declared global arookas 2016-02-01 05:34:22 -05:00
  • b3a347936e Added modifier lists to AST arookas 2016-02-01 05:03:44 -05:00
  • cf5915222e Removed casting builtin properties arookas 2016-02-01 05:03:18 -05:00
  • ec2162f752 Fixed: incorrect indices arookas 2016-02-01 05:03:02 -05:00
  • 3e0a2dc403 Fixed: removed cast keywords arookas 2016-02-01 04:57:29 -05:00
  • 25c3853309 Changed declare/define functions arookas 2016-02-01 04:57:07 -05:00
  • 6f74979d61 Gave sunIdentifier properties a consistent name arookas 2016-02-01 04:56:22 -05:00
  • 91588fae63 Fixed: builtins can't be local arookas 2016-02-01 04:46:43 -05:00
  • f5af232ed4 Added modifier properties arookas 2016-02-01 04:43:14 -05:00
  • 780345863e Added return value to WriteJmp arookas 2016-02-01 04:41:06 -05:00
  • f8a945b757 Removed spaces from file names arookas 2016-02-01 04:37:15 -05:00
  • 7157e79e78 Cleanup arookas 2016-02-01 03:27:32 -05:00
  • 4999467b29 Made the state variable local arookas 2016-02-01 03:27:16 -05:00
  • 723b8b64c9 Moved int/float/typeof to the standard library arookas 2016-02-01 03:26:44 -05:00
  • be73c33069 Moved the statement keywords to the start of their respective modifiers productions arookas 2016-02-01 03:25:47 -05:00
  • 228dc80a01 Call AnalyzeExpression directly arookas 2016-02-01 03:10:21 -05:00
  • 1842a99954 Added modifiers property arookas 2016-02-01 03:08:35 -05:00
  • d070143fba Added local-keyword node arookas 2016-02-01 01:40:30 -05:00
  • b57c70ee9d Added callable/storable modifiers to grammar arookas 2016-02-01 01:36:13 -05:00
  • 5fa362cac1 Cache GetId result arookas 2016-02-01 01:33:39 -05:00
  • 837b2f8c8d Added null-check to GetId arookas 2016-02-01 01:32:09 -05:00
  • 5483073347 Added local keyword arookas 2016-02-01 01:28:00 -05:00
  • 6f6306c064 Made try/catch release-only arookas 2016-02-01 00:28:03 -05:00
  • 9d6eb5a75c Renamed GetReader to CreateReader arookas 2016-02-01 00:26:50 -05:00
  • ebfa60f9ba Cleanup arookas 2016-02-01 00:25:49 -05:00
  • f2d46235ee Fixed: importing didn't increment context locals arookas 2016-02-01 00:24:16 -05:00
  • c0e747d2bd Added local-scope for functions & script variables arookas 2016-02-01 00:22:31 -05:00
  • 32b716a3b9 Minor cleanup arookas 2016-01-31 23:17:10 -05:00
  • e575a8a741 Refactored parameter/argument list productions arookas 2016-01-31 23:13:09 -05:00
  • e57a55056b Tabbing arookas 2016-01-31 21:32:41 -05:00
  • be3c2b1582 Removed useless header information arookas 2016-01-31 21:31:43 -05:00
  • b0ad55a005 Changed how call sites are opened/closed. arookas 2016-01-31 21:26:51 -05:00
  • b2330dfa6c Refactored break/continue compilation. arookas 2016-01-31 21:25:50 -05:00
  • eb3e679fc7 Complete overhaul of binary-writing system arookas 2016-01-31 20:03:12 -05:00
  • 8f683d16a3 Moved system symbols to their own function arookas 2016-01-31 14:57:08 -05:00
  • ca8f59dea2 Added RNG utility functions. arookas 2016-01-31 14:32:36 -05:00
  • 50348a9b47 Added SYS_SHINEGET and SYS_SHINENUM. arookas 2016-01-31 14:29:41 -05:00
  • 16cba6c798 Added position functions to sunWriter arookas 2016-01-31 14:29:15 -05:00
  • 6292c2f9c5 Added $switch system variable. arookas 2016-01-29 21:56:49 -05:00
  • c87bad17d7 Added consume flags for loops arookas 2016-01-29 21:56:25 -05:00
  • 758849cd17 Fixed: typo in builtin keyword arookas 2016-01-29 21:54:25 -05:00
  • abd2bd5940 Added incSystemFlag and decSystemFlag. arookas 2016-01-29 17:12:08 -05:00
  • 35dc771a6d Added some system flag constants arookas 2016-01-29 17:11:56 -05:00
  • 2df6542eaf Added BGM constants arookas 2016-01-29 17:11:27 -05:00
  • 38633e742f Added more system builtins arookas 2016-01-29 17:11:09 -05:00
  • a0cbd07a0f Added forceCloseTalk builtin arookas 2016-01-29 17:10:48 -05:00
  • 57ae25a57e Added sound-related builtins arookas 2016-01-29 17:10:33 -05:00
  • d24894dd85 Added scene-related builtins arookas 2016-01-29 17:10:04 -05:00
  • 1824b97f98 Cleanup. arookas 2016-01-29 17:08:55 -05:00
  • 0a69d97dc3 Updated year in notice. arookas 2016-01-29 17:07:55 -05:00
  • fcff623c29 Fixed: argument_list should not be transcient. arookas 2016-01-29 15:24:30 -05:00
  • 7da7b611e0 Fixed: set mOutput, not mInput arookas 2016-01-26 01:08:53 -05:00
  • e721b64045 Fixed: forgot to escape the n arookas 2016-01-25 23:59:46 -05:00
  • 1e8eb63f34 Fixed: write dest, not ofs arookas 2016-01-23 01:36:27 -05:00
  • 79e167da39 Fixed: var command didn't use WriteVar arookas 2016-01-23 01:15:50 -05:00
  • 15421158b7 Fixed: find variable symbol by data, not index arookas 2016-01-23 00:58:56 -05:00
  • df827b5acd Added AddSystemVariable. arookas 2016-01-09 20:09:12 -05:00
  • bd39fdf380 Minor rewording. arookas 2016-01-09 20:08:37 -05:00
  • 6b47a372ed Renamed sunLoop to sunLoopNode. arookas 2016-01-09 20:08:10 -05:00
  • 31adcc5d6c Made system builtins properties instead of an enum. arookas 2015-12-31 05:49:29 -05:00
  • 4365a6b894 Fixed: close all call sites. arookas 2015-12-31 05:43:45 -05:00
  • 2f5bb18948 Added sbdump to project list. arookas 2015-12-30 22:29:02 -05:00
  • e45a9473f8 Added the sbdump project. arookas 2015-12-30 22:28:52 -05:00
  • d56bd81a0a Added preliminary sbdump code. arookas 2015-12-30 22:27:03 -05:00
  • 9f8f21c7bf Changed how system builtins are initialized. arookas 2015-12-28 23:27:17 -05:00
  • ed4822ee29 Moved dump and print to common.sun. arookas 2015-12-28 23:24:08 -05:00
  • 72ea2a031c Renamed sunWriter writing methods to match the command names in TSpcInterp. arookas 2015-12-28 20:35:16 -05:00