Skip to content

Aterms.sdf3

pdmosses/sdf/org.metaborg.meta.lang.template/syntax/aterms/Aterms.sdf3

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module 

imports constants/IntCon
                constants/RealCon
                constants/StrCon
        constants/IdentifierCon

context-free syntax
        .Quoted = <<StrCon>>
        .Unquoted = <<IdCon>>


context-free syntax
        .Int = <<IntCon>>
        .Real = <<RealCon>>
        .Fun = <<AFun>>
        .Appl = <<AFun>(<{ATerm ","}+>)>
        .Placeholder = <\<<ATerm>\>>
        .List = <[<{ATerm ","}*>]>
        .Annotated = <<ATerm><Annotation>>

context-free syntax
        Annotation.Default = <{<{ATerm ","}+>}>