• Keine Ergebnisse gefunden

14:44

N/A
N/A
Protected

Academic year: 2022

Aktie "14:44 "

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

JGM, l8-JUN-7.3 09:02 <DORNBusa>CML.NLS;l 1

<DORNBUSH>CML.NLS;l~ lS-JUN-73

14:44

eFD ;

COMMAND META LANGUAGE ~- CML" 02

I,NTRODUOTION OJ

The 'command meta~language (CML) is a vehicle' for describing the syntax and semantics of tb~ us~r interface to tne NLS sy~t~m. - The syntax is described through the tree-meta alternation anct sUcceSsion concepts. The sem~ntis are 1ntroduceQ via bUilt-in functions and semantic conventions.' ' . 011

NO attempt is made to describe the full semantics

of

any

commind

via CML# but it is hoped that the front-end in~erface (parsing and feedback operations) may be eXP1~citly accomodated"w1tn tnese

f~cilities. It will still be necess~ry, and desir~ble,

to

use"

execution functions to perform the low-level semantics of the comman4. The CML describes now

the

command "loOkS" to tne ujer, rather than what it does in the s y s t e m . , ' 012

ELEMENTS OF CML 'O~

RECOGNIZERS o~

Keyword Recognition 01)

The process of keyword recognitidn is independent of tne" ~

description of the keywords for CMt. In tne CNL

description , each keyword is represented bY the fUll text of the keyword. ~he algorithm used to match a u~~r's­

typed input against any list of alternative keywords-is ,known as keyword recognition, and is a f~nct1on of tne

command interpreter and is independent of the CML

description of the commahd. Ol~

SELECTION SPECIFICATION '08

Three types of selections are built into, CMt. They a.re DSEL,-'

" SSEL, and'LSEL (see -- the writeup on the command languag~-!or

the eXplicit definition of the selections). Basic~llY# triey are r~cognizers which require some entity 'type as an' argument and

iheyreturn

a pOinter to a pair of. text pointers. tn~

entity type is obtained either bY some prev~ous

invo6atiorl

Of the recognition function f~r SOMe list of 'keyword entities. o~

use' of the VALUEOF built in tun~tion. . 089 The DSEL~ SSEL, and LSEL functions perform all evaluation arid"

feedback operations associated with tne selecticin operations.

FEEDBACK CONTROL ,

090 '"06 'The feedback control elements of CML are used to provide

feedback in 'addition to the normal feedback generated' b~ the recogn1zers.This ,is used to i~plement ,additional, tinoise -

words" and help feedback. . 092

1) 'adding feedback to the command feedback link.

093

A string may be added to th~ current c6mm~nd feeabacK line by enclosing the quoted string in ang~e bricket~.

- U91s.

, extra feedback ~

,<

.SR

,>

09S 2) replacing thelastwcird in ihe feedback line. ti9~

It is possible to replace the last string in the

COmmand

feedback line by using the string replace facilit~.­

This is similar to (1) above except the

previous

word in the feedb~ck line ,i~ deleted before aQding the new

string. .

replace extra feedback ;

"< •••

~ .SR

,>

FUNCTION, EXECUTION

097 09b

"°1

(2)

l8 .... JUN~7.3 09:02 (DORNBUSH)CML.NLS;l 2

Functions may be invoked at any point in the parse by wri~lng

a' name of some routine and enclosing a parameter list in . \

parentheses. 099 ",

control

=

.ID % routine name % • ( 8(',>

var ') Oi66

FORMAL SYNTAX OF CML "-- . . . 010

syste~l :; "SYSTEM" • ID %system name% sysdef Ssubsys '~6?

' " "FINISH"; , 066

subsys

been previously sysdef

listdef

command

e·x-p

alternative

factor

term

a.ssig,n' confirm

var

recognition keyword keyelm qua.lifier builtinrec

'~LI T .t;

feedba.ck

help control

=

"SUBSYSTEM" .ID % subsystem name -- must hav~

'-

included in sysdefMS #command "END."; .

667

=

11stctef;' - 066

;; • I D '.

=

#

<

t 1

> (.

S:R 1 • I

J?

,~ name of, list % ~ :,; -;'-

~ keywOrd $( exp ) [confirm) 'I ;

;; #<'1

)alternati

ve; . ' , .

;;; #1:actor;

069

070 o7i

;; terml '( exp 072

;; recogni'tionl

t)/ t{ exp 'IJ 073

f~edbackl c6ntroll helP I assigni '- va.r;

;: var '+-term;

': .UID;'

~(+·<CA>~.CHR;

%

call routine to terminate - keywordl built1nrecl keyelm;

~ ~SR ( ' [ #qualifier

'J );

.•• ID %

riame of list';

=

"NOTt"1 "NOTD"I "Ll"j

074 '

015 076

cmd 077 '% A - 078

079

086 081 082

~ (("S3EL"1 "DSEL"I "LSEL"~ ~(:var/ (nVALUEOF(ri -.. ,,-

-~ -,.-' 0.8,3

.SR 'll '))1 .. ..

.-

.. "VIEWSPECS"I "LEVADJ"I

;; "CLEAR";

;; ,<

.SR"); ,

;: ; I D t ( $

<

t, I

>

V

ar

~).;

II,~,/!,','"I' 41 t '

{II" "

r i l ' - T D " \ '

/ L-'

;

j ~' (- f

L ,I

j1 7 ' I

I'/), "~, ,,<"" 7 V,~,'

/ 'U

pt:::> 1./'-';../ c,

/i '

,... /,'

' I K ('-' /~:.:., J;;z.';;,."ij .. c;,

~ (,

1 "

/

091 086 081'

08ti

Referenzen

ÄHNLICHE DOKUMENTE

expeted growth rate of sales and the normal rate of apaity utilization ad-5. just endogenously

While such observations are as yet entirely lacking, some preliminary results may be obtained on the basis of the photometry in the integrated light also; only the

The strongest condition for invariant trade robustness, 2-invariant trade ro- bustness, is conclusive for deciding if a given complete game is weighted if the complete game has either

Now, the standard Isoperimetric Theorem for a fixed set of segment lengths and a free line, as noted in the remarks following Theorem 0, shows that Area(ConvHull( T )) ≤

Picea j ezoensis Carr. Abies Mayriana Miyabe et Kudo. Thujopsis dolabrata Sieb. Chamaecyparis obtusa Sieb. Pinus densiflora Sieb.. Trees were measured and classifüed in diameter

This is substantially different from, say, the Strait of Hormuz, which was a channel for long distance trade, nearly at all times, and not so much an alley for coastal transport

The arguments of the pro- ponents of this transactions tax are based on the assumption that (i) short-term trading is destabilizing and speculative and causes the volatility

A ‘poverty focused’ economic development policy has best chance of success if it is agricultural-led, or if it is based on increasing agricultural productivity that result in