|
|
A...Z |
a...z | _ |
( - )? ( 0...9 ) ( 0...9 | _ )*
| |
|
|
( - )? ( 0X | 0x ) ( 0...9 | A...F | a...f ) ( 0...9 | A...F | a...f | _ )*
|
|
|
( - )? ( 0O | 0o ) 0...7 ( 0...7 | _ )*
|
|
|
( - )? ( 0B | 0b ) 0...1 ( 0...1 | _ )*
|
( - )? 0...9 ( 0...9 | _ )* ( . ( 0...9 | _ )* )? ( ( E | e ) ( + | - )? 0...9 ( 0...9 | _ )* )?
|
' regular-char '
| |
|
|
\ ( \ | " | ' | n | t | b | r )
| |
|
|
\ 0...9 0...9 0...9
|
|
|
\x ( 0...9 | A...F | a...f ) ( 0...9 | A...F | a...f )
|
regular-char-str
| |
|
|
! | $ | % | & | * | + | - | . | / | : | < | = | > | ? | @ | ^ | | | ~ |
# ( 0...9 )+
| |
|
|
and | as | assert | asr | begin | class | constraint | do | done | downto | else | end | exception | external | false | for | fun | function | functor | if | in | include | inherit | initializer | land | lazy | let | lor | lsl | lsr | lxor | match | method | mod | module | mutable | new | object | of | open | or | private | rec | sig | struct | then | to | true | try | type | val | virtual | when | while | with |
!= | # | & | && | ' | ( | ) | * | + | , | - | -. | -> | . | .. | : | :: | := | :> | ; | ;; | < | <- | = | > | >] | >} | ? | ?? | [ | [< | [> | [| | ] | _ | ` | { | {< | | | |] | } | ~ |
parser | << | <: | >> | $ | $$ | $: |
|
|
prefix-symbol | infix-op |
infix-symbol | * | = | or | & | := | mod | land | lor | lxor | lsl | lsr | asr |
|
|
false
|
|
|
true
|
|
|
[]
|
|
|
()
|
|
|
::
|
lowercase-ident |
lowercase-ident |
lowercase-ident |
ident |
lowercase-ident |
lowercase-ident |
lowercase-ident |
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
' ident
| |
|
|
_
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
< ( .. )? >
|
|
| |
|
| |
|
| |
|
|
|
|
|
| |
|
|
|
|
|
|
|
| |
|
| |
|
| |
|
| |
|
|
` tag-name
|
|
|
_
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
function pattern-matching
|
|
| |
|
| |
|
| |
|
|
new class-path
|
|
| |
|
| |
|
| |
|
| |
|
|
assert expr
|
|
|
lazy expr
|
|
| |
|
|
|
|
|
| |
|
| |
|
| |
|
| |
|
|
= typexpr
|
|
|
|
|
' ident
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
inherit class-type
| |
|
| |
|
| |
|
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
initializer expr
|
|
| |
|
| |
|
| |
|
|
|
| |
|
| |
|
|
exception constr-decl
|
|
| |
|
| |
|
| |
|
| |
|
|
open module-path
|
|
|
include module-type
|
|
|
|
| |
|
| |
|
| |
|
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
open module-path
|
|
|
include module-expr
|
Copyright 2003 Peter Hercek, All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You can receive a copy of the GNU General Public License here.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~