1
0
Fork 0
mirror of https://github.com/imjasonh/nescript synced 2026-07-09 09:18:01 +00:00
nescript/src
Claude 1e4e384501
Analyzer: W0101 warn on expensive multiply/divide
Emits W0101 on \`a * b\`, \`a / b\`, \`a % b\` expressions where both
operands are non-constant (neither is an integer literal). These lower
to calls into the software multiply/divide routines and can blow the
6502 cycle budget. Multiplying by a constant is still silent because
the optimizer can strength-reduce power-of-2 cases to shifts and small
factors to add chains.

https://claude.ai/code/session_01W6eQFStA66EuMKHUFo2rx3
2026-04-12 11:01:03 +00:00
..
analyzer Analyzer: W0101 warn on expensive multiply/divide 2026-04-12 11:01:03 +00:00
asm Fix bugs found during code review 2026-04-12 01:00:27 +00:00
assets Asset pipeline: resolve @binary and @chr file paths 2026-04-12 10:13:26 +00:00
codegen IR codegen: scroll, debug.log, debug.assert 2026-04-12 10:43:53 +00:00
debug
errors Analyzer: W0101 warn on expensive multiply/divide 2026-04-12 11:01:03 +00:00
ir IR codegen: scroll, debug.log, debug.assert 2026-04-12 10:43:53 +00:00
lexer
linker Sprite resolution, asset wiring, shift-assign, unreachable state warning 2026-04-12 10:01:44 +00:00
optimizer IR codegen: scroll, debug.log, debug.assert 2026-04-12 10:43:53 +00:00
parser Parser: E0505 error on multiple 'start' declarations 2026-04-12 10:59:06 +00:00
rom
runtime Add Player 2 controller support 2026-04-12 10:05:12 +00:00
lib.rs
main.rs Make IR codegen the default, fall back to AST via --use-ast 2026-04-12 10:46:01 +00:00