24.11.2014 Views

flex Expert System Toolkit - LPIS

flex Expert System Toolkit - LPIS

flex Expert System Toolkit - LPIS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix B - Formal Definition of KSL 188<br />

Data<br />

data --><br />

[data],<br />

name( data ),<br />

conjunction( directive ),<br />

[.] .<br />

Question<br />

question --><br />

[question],<br />

name( question ),<br />

question_form,<br />

[.] .<br />

question_form --><br />

[answer,is],<br />

variable( answer ),<br />

where,<br />

disjunction( condition ) .<br />

question_form --><br />

sequence( tokens ),<br />

[;],<br />

answer_form,<br />

optional( explanation ) .<br />

% this forms the text of the question<br />

answer_form --><br />

menu_form,<br />

menu_items .<br />

answer_form --><br />

[input],<br />

optional( [is] ),<br />

input_form .<br />

menu_form --><br />

[choose,from] |<br />

[choose,one,of] |<br />

[choose,some,of] .<br />

menu_items --><br />

name( group ).<br />

menu_items --><br />

sequence_separator( token, [','] ) .<br />

input_form --><br />

[set] |<br />

[name] |<br />

<strong>flex</strong> toolkit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!