-
Notifications
You must be signed in to change notification settings - Fork 0
Home
AbePralle edited this page Nov 24, 2021
·
20 revisions
See Concepts for a short overview of compilers and how Froley fits in.
A .froley file is used to define token types and write the logic for the Scanner and Parser. Name it with the name of the language you're defining - for example, Simple.froley for a language called "Simple".
There are four types of comments in Froley:
# Single-line comment
#{ Multi-line comment }#
==== Single-line "HR" comment
---- Single-line "HR" comment
A .froley file is comprised of three sections: