summaryrefslogtreecommitdiff
path: root/pokemontools/preprocessor.py
AgeCommit message (Collapse)Author
2016-08-24Fix enough py3 issues for pokeyellow to finish buildingEevee (Lexy Munroe)
Mostly xrange (screw it, just use range), spurious tabs, and division.
2016-08-24Fix most Python 3 compat issues with futurize --stage1Eevee (Lexy Munroe)
2014-01-22Merge pull request #65 from yenatch/rgbasm-equsBryan Bishop
preprocessor: rgbasm "EQUS" takes string literals
2014-01-19preprocessor: rgbasm "EQUS" takes string literalsyenatch
2013-12-21Merge remote-tracking branch 'kanzure/master' into battle-animationsyenatch
Conflicts: pokemontools/wram.py
2013-12-09Merge pull request #59 from yenatch/dependenciesBryan Bishop
Use a mapfile instead of labels.json; object dependency handling
2013-12-07preprocessor: dont write to globals.asm for each processyenatch
2013-12-02preprocessor: str.split() already removes preceding/trailing whitespaceyenatch
2013-12-02preprocessor: simplify macro_translatoryenatch
2013-12-02preprocessor: remove some redundant code in macro_translatoryenatch
2013-12-02preprocessor: get rid of PointerLabel cruftyenatch
now pretty much everything uses from_asm
2013-11-07preprocessor: from_asm method and is_rgbasm_macro in command classesyenatch
enjoy this half-assed implementation
2013-09-16use try/except on globals.asm for preprocessingBryan Bishop
2013-09-11spit GLOBAL defs for labels into globals.asm instead of inlineyenatch
2013-09-02class Preprocessor instead of just functionsBryan Bishop
2013-09-01don't make global labels for rgbasm macrosBryan Bishop
This adds support to the preprocessor to handle constants.asm from pokered.
2013-08-31merge preprocessor from pokecrystal c0a01c99Bryan Bishop
That version was better anyway.
2013-08-29better KeyError exception message in preprocessorBryan Bishop
2013-08-28also have the common bits of the preprocessorBryan Bishop
This doesn't really belong in both pokecrystal and pokered. It should be shared between the two without copy/paste.