Two-pass-free line-based scanner. Each directive carries its source line so downstream validation errors can be attributed correctly. Parser checks syntax only — atlas/tile resolution and bounds checks are deferred to the builder so each tier has one responsibility.
5 lines
63 B
Plaintext
5 lines
63 B
Plaintext
size 4 4
|
|
atlas atlas_a
|
|
layer surface
|
|
set 10 10 atlas_a:grass
|