aboutsummaryrefslogtreecommitdiff
path: root/src/boot/tokens.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2012-05-22 05:55:37 +0000
committerdos-reis <gdr@axiomatics.org>2012-05-22 05:55:37 +0000
commitd5c006517a885094c5752f7f143c9a0e8cda4504 (patch)
treed765a48e92657cf7e957c10c62a6526283b5f989 /src/boot/tokens.boot
parent08967519aa894f0740d4e120df5db49ab4d2e8b6 (diff)
downloadopen-axiom-d5c006517a885094c5752f7f143c9a0e8cda4504.tar.gz
* boot/translator.boot (translateToplevel): Handle record structures.
* boot/tokens.boot: "with" is now a keyword in Boot. * boot/parser.boot (bpSignature): The typing is required afte the colong. (bpFieldList): New. (bpGlobalAccessors): Likewise. (bpAccessorDefinitionList): Likewise. (bpAccessorDefinition): Likewise. (bpFieldSection): Likewise. (bpSelectField): Likewise. (bpRecord): Likewise. (bpStruct): Use it to implement record structures. * boot/ast.boot (%Ast): Add %Record and %AccessorDef. (bfRecordDef): New.
Diffstat (limited to 'src/boot/tokens.boot')
-rw-r--r--src/boot/tokens.boot1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/boot/tokens.boot b/src/boot/tokens.boot
index cb3491df..b31eeec3 100644
--- a/src/boot/tokens.boot
+++ b/src/boot/tokens.boot
@@ -90,6 +90,7 @@ shoeKeyWords == [ _
['"throw", "THROW"], _
['"try", "TRY"], _
['"until", "UNTIL"], _
+ ['"with", "WITH" ], _
['"where", "WHERE"], _
['"while", "WHILE"], _
['".", "DOT"], _