~rabbits/uxnfor

91eb6e7a5e2efa004d153edcfed8b2198c6c1ae2 — Devine Lu Linvega 2 months ago e2c6e9a main
Added something like multi-line comments
2 files changed, 14 insertions(+), 19 deletions(-)

M etc/test.tal
M src/uxnfor.tal
M etc/test.tal => etc/test.tal +11 -19
@@ 24,10 24,6 @@
	#01
	( second comment ) BRK

@vector3 ( -> )
	#01
	( > line comment ) #1234 BRK

@comment ( -- )
	( foo ) #1234 #1234
	( bar ) #1234 #1234 #1234


@@ 38,7 34,9 @@
	#1234
	( | bar )
	#1234 #1234
	( | line 1 | line 2 | line 3 )
	( | line 1
	| line 2
	| line 3 )
	#1234 #1234 #1234 JMP2r

@eol-cond ( len* -- and )


@@ 99,31 97,25 @@
	1234 1234 1234 1234 1234 1234 1234 1234
	1234 1234 1234 1234 ]

@resize-icn [
	aa55 805f 9051 9357 aa55 02f9 0a89 cae9
	9753 9150 9f40 aa55 eac9 8a09 fa01 aa55 ]

@list &asset1 [ ]
	&asset2 [ ]
	&asset3 [ ]
	&asset4 [ ]
	&asset5 [ ]

@Enum &a $1 &b $2 &c $2

@dict &a "foo $1
	&b "bar $1
	&c "dez $1

~include
~include-before

@snarf-txt ".snarf $1

@cursor-icn [ 80c0 e0f0 f8e0 1000 ]

@fill-icn [ ffff ffff ffff ffff ]

@halftone-icn [ aa55 aa55 aa55 aa55 ]

@resize-icn [
	aa55 805f 9051 9357 aa55 02f9 0a89 cae9
	9753 9150 9f40 aa55 eac9 8a09 fa01 aa55 ]

~src/utils/log.assets.tal

~src/utils/log.assets.tal
~include-after


M src/uxnfor.tal => src/uxnfor.tal +3 -0
@@ 316,6 316,9 @@
		INC2 INC2 }
	&>w ( -- )
		LDAk #00 EQU ?&end
		LDA2k [ LIT2 "| 20 ] NEQ2 ?{
			DUP2 #0002 SUB2 LDA2 [ LIT2 "( 20 ] EQU2 ?{ <emit-break-tab> }
			}
		LDAk <emit>
		INC2 LDAk #29 NEQ ?&>w
	LDAk <emit>