[liblouis-liblouisxml] Examples of liblouis scripting language and request for feedback

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Tue, 22 Oct 2013 20:51:34 -0500

Below are some examples of the liblouis scripting language as it now 
exists. They work. Extensions to the language will mainly involve 
querying the typeform parameter and providing for more than one 
replacement or insertion.

Your feedback is needed so that we have alanguage which is user-friendly 
and capable of doing exactly what is required. Thank you.

--------------------

context script if "\e" attr(a) then repcopy
context script if back attr(l) rep(".") attr(l) then @256 
context script if back attr(d) rep("a") then @56-1
context script if back attr(d) rep("A") then @56-1
pass2 script if rep(@36-36-36) then  @36-36
pass2 script if rep(@6-236-3456) then @3-3456
pass2 script if attr(s,1,10) then @0
pass2 script if @6-56 then @56-6

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: