We have hosted the application xbnf to run in windows online over linux online in order to run this application in our online workstations with Wine or directly.
Quick description about xbnf to run in windows online over linux online:
Aim of the XBNF compiler is to be able to translate using simple and powerfull"BNF like" grammar to process file or stdin in input and produce translation in output.
Severals outputs flux can be produced (-o option)
Flux are mapped according to the order of appearance of # in definition.
* EX of grammar logic.xbnf :
ou : et "+" ou
#
"(ou " et " " ou ")"
ou : et
et : fact "." et
#
"(et " fact " " et ")"
et : fact
fact : < > boolean < >
# boolean
fact : < > "(" < > ou < > ")" < > | < > ou < >
# ou
boolean : "1" # "true"
boolean : "0" # "false"
< >: (CHAINE "\t\n ") | ()
* Translate from stdin to stdout :
# xbnf -i - -o - samples/logic.xbnf
(0 + 1) . 1 + ( 0 . ( 1 + 1 ) )
+ 1 . 0
^D
(ou (et (ou false true) true) (ou (et false (ou true true)) (et true false)))
* Reverse translate from file to stdout :
# xbnf -o - -i output/logic-EN.txt samples/logic.xbnf
(0+1).1+0.(1+1)+1.0
Features:
- XBNF input and output channel (#)
- direct translation using "=>" and flux parsing with -if / -of
- random output (EX: p.3 for probability of 3/F)
- loop detection (enable by default)
- only one parsing phase for input and one parsing phase for output
- grammar parameters using (PARAM* call)
- evaluation of scope using -is/-os
Audience: Information Technology, Advanced End Users, System Administrators, Developers, Architects.
User interface: Command-line.
Programming Language: C++.
.
©2024. Winfy. All Rights Reserved.
By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.