poryscript

High-level scripting language for gen 3 pokemon decompilation projects

MIT License

Stars
176

Bot releases are hidden (Show)

poryscript - 2.0.0

Published by huderlem about 5 years ago

2.0.0 Release

Added

  • Add single-line comments with the # character.
  • Add go.mod file so the project can be built outside of the Go workspace.
  • Add while loops.
  • Add do...while loops.
  • Add break and continue statements.
  • Add compound boolean expressions.
  • Add output optimization which significantly simplifies and shrinks the resulting compiled scripts. Turn off optimization by specifying -optimize=false.
  • Add switch statements.

Changed

  • raw no longer takes a label name.
  • Removed raw_global, since there is no longer a concept of being global or local for raw.

Fixed

  • Inline texts are now generated with labels that are prefixed to their parent script's name. Otherwise, they would easily clash with external scripts because they were all simply named Text_<num>.
poryscript - 1.0.0

Published by huderlem about 5 years ago

Initial release.