Commit Graph

19 Commits

Author SHA1 Message Date
Eevee (Lexy Munroe) 39c0d6d94b Fix enough py3 issues for pokeyellow to finish building
Mostly xrange (screw it, just use range), spurious tabs, and division.
2016-08-24 16:05:49 -07:00
Eevee (Lexy Munroe) a64657988a Fix most Python 3 compat issues with futurize --stage1 2016-08-24 15:43:15 -07:00
Bryan Bishop 61b83803be Merge pull request #65 from yenatch/rgbasm-equs
preprocessor: rgbasm "EQUS" takes string literals
2014-01-22 07:12:22 -08:00
yenatch 89ca24a934 preprocessor: rgbasm "EQUS" takes string literals 2014-01-19 19:37:35 -05:00
yenatch efe0b717ef Merge remote-tracking branch 'kanzure/master' into battle-animations
Conflicts:
	pokemontools/wram.py
2013-12-21 00:37:35 -05:00
Bryan Bishop 58de3846c7 Merge pull request #59 from yenatch/dependencies
Use a mapfile instead of labels.json; object dependency handling
2013-12-09 17:48:11 -08:00
yenatch f5ddc33705 preprocessor: dont write to globals.asm for each process 2013-12-07 05:05:54 -05:00
yenatch fef1cdd4f2 preprocessor: str.split() already removes preceding/trailing whitespace 2013-12-02 23:48:24 -05:00
yenatch 3a586ef165 preprocessor: simplify macro_translator 2013-12-02 15:15:19 -05:00
yenatch a648e0a8cd preprocessor: remove some redundant code in macro_translator 2013-12-02 15:08:19 -05:00
yenatch 07f7b1b892 preprocessor: get rid of PointerLabel cruft
now pretty much everything uses from_asm
2013-12-02 14:56:06 -05:00
yenatch ea28149195 preprocessor: from_asm method and is_rgbasm_macro in command classes
enjoy this half-assed implementation
2013-11-07 00:41:44 -05:00
Bryan Bishop b67e68c6a1 use try/except on globals.asm for preprocessing 2013-09-16 12:40:37 -05:00
yenatch 7bf5fcab90 spit GLOBAL defs for labels into globals.asm instead of inline 2013-09-11 16:30:38 -04:00
Bryan Bishop 2cf0cfa34d class Preprocessor instead of just functions 2013-09-02 12:33:03 -05:00
Bryan Bishop c39e156f8c don't make global labels for rgbasm macros
This adds support to the preprocessor to handle constants.asm from
pokered.
2013-09-01 01:44:00 -05:00
Bryan Bishop 4998994c9a merge preprocessor from pokecrystal c0a01c99
That version was better anyway.
2013-08-31 12:43:05 -05:00
Bryan Bishop 4c56a6c57a better KeyError exception message in preprocessor 2013-08-29 12:07:27 -05:00
Bryan Bishop 0856dee10a also have the common bits of the preprocessor
This doesn't really belong in both pokecrystal and pokered. It should be
shared between the two without copy/paste.
2013-08-28 22:41:01 -05:00