Advanced SI Script Video

RESOURCES

VIDEO DESCRIPTION

  • In our last installment of the Semantic Interpretation series, we cover the converstion of previous grammar versions into the new SISR standard. The video covers renamed objects, LumenVox shortcuts, tag formats, and examples.
  • RUNTIME 10:00

CHAPTERS IN THIS SECTION

Video Transcription

Advanced SI Script

In this video, we'll be covering how to convert older grammars to use the current standard.

The most important change is that a lot of the variable names that are used to denote rule variables were changed.

Renamed Objects

Previous

$
$$
$$$
$rulename

Updated

out
rules.latest()
meta.latest()
rules.rulename

You'll see that the new version looks a lot cleaner without all the dollar signs.

You should also know that this will only affect SI Script grammars. It will not affect string literal grammars, because you don't reference other rule variables besides the current rule variable.

LumenVox Shortcuts

LumenVox used to support the shortcut method you see here:

$one = one:"1"

This is no longer allowed. Instead, use the following:

String literals: $one = one {1}
SI Script: $one = one{out="1"};

Tag Formats

We previously supported two formats:

  • lumenvox/1.0
  • semantics/1.0

Now:

  • String Literals: semantics/1.0.2006-literals
  • SI Script: semantics/1.0.2006

(Please see video at 7:10 for an example of converting an old grammar)

If you still have questions, please check out our Resources section: www.LumenVox.com/resources, or Contact Us.

© 2016 LumenVox, LLC. All rights reserved.