Skip to content

Latest commit

 

History

History
53 lines (53 loc) · 926 Bytes

File metadata and controls

53 lines (53 loc) · 926 Bytes

META

description=App Header = nonempty multiline
type=header

SOURCE

app # This comment is here
	[main!]
	{ pf: platform "../main.roc", somePkg: "../main.roc" }

EXPECTED

NIL

PROBLEMS

NIL

TOKENS

KwApp,
OpenSquare,LowerIdent,CloseSquare,
OpenCurly,LowerIdent,OpColon,KwPlatform,StringStart,StringPart,StringEnd,Comma,LowerIdent,OpColon,StringStart,StringPart,StringEnd,CloseCurly,
EndOfFile,

PARSE

(app
	(provides
		(exposed-lower-ident
			(text "main!")))
	(record-field (name "pf")
		(e-string
			(e-string-part (raw "../main.roc"))))
	(packages
		(record-field (name "pf")
			(e-string
				(e-string-part (raw "../main.roc"))))
		(record-field (name "somePkg")
			(e-string
				(e-string-part (raw "../main.roc"))))))

FORMATTED

NO CHANGE

CANONICALIZE

(can-ir (empty true))

TYPES

(inferred-types
	(defs)
	(expressions))