Crafting Interpreters

Created on 2020-08-27T02:40:52.243421

Return to the Index

This card pertains to a resource available on the internet.

This card can also be read via Gemini.

Lexing and Parsing

Lexing turns this:

World henlo: 'Hi.'

In to this:

IDENT(World) IDENT(henlo) COLON STRING(Hi.)

While parsing turns this:

IDENT(World) IDENT(henlo) COLON STRING(Hi.)

In to this:

CALL
	OBJECT(World)
	FUNCTION(henlo)
	PARAMETER(Hi.)