• Keine Ergebnisse gefunden

(2)SignatureDeclaration signature Ident = Signature and

N/A
N/A
Protected

Academic year: 2022

Aktie "(2)SignatureDeclaration signature Ident = Signature and "

Copied!
11
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Tobias Nipkowand Larry Paulson

PROGRAMS AND MODULES

Program

TopLevelDeclaration ;

TopLevelDeclaration Expression

ObjectDeclaration

SignatureDeclaration

FunctorDeclaration

ObjectDeclaration Declaration

structure

Ident :

Signature

=

Structure

and

local

ObjectDeclaration in

ObjectDeclaration end

;

(2)

SignatureDeclaration

signature

Ident =

Signature

and

;

FunctorDeclaration

functor

FunctorBinding

and

;

FunctorBinding Ident (

FunctorArguments )

:

Signature

=

Structure

FunctorArguments Ident :

Signature

Specication

Structure

struct

ObjectDeclaration end

CompoundIdent

Ident (

Structure

ObjectDeclaration

)

let

ObjectDeclaration in

Structure end

Signature

sig

Specication end

Ident

(3)

Specication

val

Ident :

Type

and

type

eqtype

TypeVarList Ident

and

datatype

DatatypeBinding

and

exception

Ident of

Type

and

structure

Ident :

Signature

and

sharing

type

CompoundIdent

=

and

local

Specication in

Specication end

open

CompoundIdent

include

Ident

;

(4)

Declaration

val

rec

Pattern =

Expression

and

fun

FunHeading

:

Type

=

Expression

|

and

type

TypeBinding

datatype

DatatypeBinding

withtype

TypeBinding

abstype

DatatypeBinding

withtype

TypeBinding

with

Declaration end

exception

Name of

Type

=

CompoundName

and

local

Declaration in

Declaration end

open

CompoundIdent

infix

infixr

Digit

nonfix

Ident

;

(5)

FunHeading

Name AtomicPattern

(

AtomicPattern InxOperator AtomicPattern )

AtomicPattern

AtomicPattern InxOperator AtomicPattern

TypeBinding

TypeVarList Ident =

Type

and

DatatypeBinding

TypeVarList Ident =

Ident of

Type

|

and

TypeVarList

TypeVar

(

TypeVar

,

)

(6)

Expression

InxExpression

Expression :

Type

Expression andalso

orelse

Expression

Expression handle

Match

raise

Expression

if

Expression then

Expression else

Expression

while

Expression do

Expression

case

Expression of

Match

fn

Match

InxExpression

AtomicExpression

InxExpression InxOperator InxExpression

(7)

AtomicExpression

CompoundName

Constant

(

Expression

,

)

[

Expression

,

]

f

Label =

Expression

,

g

#

Label

(

Expression

;

)

let

Declaration in

Expression

;

end

MATCHES AND PATTERNS

Match

Pattern =>

Expression

|

Pattern

AtomicPattern

CompoundName AtomicPattern

Pattern InxOperator Pattern

Pattern :

Type

Name

:

Type

as

Pattern

(8)

AtomicPattern

_

CompoundName

Constant

(

Pattern

,

)

[

Pattern

,

]

f

FieldPattern

g

FieldPattern

...

Label =

Pattern

Ident

:

Type

as

Pattern

,

FieldPattern

(9)

Type

TypeVar

Type

(

Type

,

)

CompoundIdent

Type *

Type

Type ->

Type

f

Label :

Type

,

g

(

Type )

LEXICAL MATTERS: IDENTIFIERS, CONSTANTS, COMMENTS

CompoundIdent Ident

.

CompoundName

CompoundIdent

op

InxOperator

Name

Ident

op

InxOperator

InxOperator

anyIdent that has been declared to be inx

(10)

Constant

Numeral .

Digit

E

Numeral

"

any printable character except \ and "

StringEscape \

"

StringEscape

n

t

^

one of @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_

Digit Digit Digit

"

\

Space

Tab

Newline

Formfeed

\

Numeral

~

Digit

TypeVar

'

_

AlphanumericIdent

(11)

Ident

AlphanumericIdent

one of !%&$#+-/:<=>?@\~`^|*

Label

Ident

Digit

AlphanumericIdent Letter

Letter

Digit

_

'

Digit

one of 0123456789

Letter

one of ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz

Comment

(*

any text that does not include (*or*)as a substring

Comment

*)

Referenzen

ÄHNLICHE DOKUMENTE

The XML Signature verification process builds on the artifacts developed dur- ing signature creation design (see Figure 5.) First, the signed XML document structure is validated

Im Modul Signature and Disclaimer werden Gruppen nach ihrer Priorität geordnet. Die Prioritäten der Gruppen werden in der Gruppentabelle unter Gruppen angezeigt. Je niedriger

Das Wacom Ink SDK for signature umfasst die Signature Library, die für die Erfassung handschriftlicher Unterschriften auf Tablets/mobilen Endgeräten von Wacom oder von

Through an analysis of the spatial modelling within the films in light of Yuri Lotman’s cultural semiotics, particularly his ‘notion of boundary’ and the aspect of

The performance of the proposed verification system for different number of training samples per user derived from MCYT-100 dataset is reported in Table 2.. The results demonstrate

The article presents a concept of the Trusted Pocket Signer (trustworthy PDA with integrated SmartCard used as Secure Signature Creation Device (SSCD)), role of biometrics within

Nach Abrufen und Erhalt der Signatur (Schritte 6 und 7) wird diese am PDA ge- speichert (Schritt 8) und kann jederzeit mittels der Verifizierfunktion auf ihre Gültigkeit

Art.-Nr.. Das „H“ steht bei Ledlenser für „Headlamp“ und seit vielen Jahren für eine erstklassige Stirnlampen-Serie. Als verlässliches Licht bei unzähligen Anwendungen sind