Explore chapters and articles related to this topic
Demonstration of BERA language-based approach to offsite construction design analysis
Published in Jack S. Goulding, Farzad Pour Rahimian, Offsite Production and Manufacturing for Innovative Construction, 2019
Jin-Kook Lee, Charles M. Eastman
BERA is designed to embed the syntax and semantics of objects of a building model and deliver them to model validation applications. The BERA language consists of four fundamental components: BERA reference directive, BERA Object Model definition and declaration, BERA rule definition, and BERA execution statement. The nesting is an essential feature of the BERA language because of its object-orientation concept, which allows the procedural components to be nested in similar components for making successive calls. The Extended Backus–Naur Form (EBNF)-based ANTLR rule is the core of BERA, to parse user-defined inputs into computer-understandable words. EBNF is the extended Backus-Naur Form (BNF), which is a mathematical way of defining a language. EBNF has three operators more than BNF: ‘?’, ‘*’, and ‘+’, which are used to represent optional, repeat the number of times, and appear one more times. This method is supposed to define the grammar of a language, to remove disagreement or ambiguity. Yacc is a famous EBNF. The following declaration can be defined to specify the building:
Development of a CNC interpretation service with good performance and variable functionality
Published in International Journal of Computer Integrated Manufacturing, 2022
In addition to the off-the-shelf compilation tools, general software development tools are utilized to build G code interpreters. For example, Liu et al. developed a G code interpreter using C language with the syntax rules described in the extended BNF (EBNF) by tool command language (TCL) (Liu et al. 2007). Hong et al. proposed a legal word table and a conditional statement-based syntax detection mechanism to implement lexical and syntactic analysis based on which designed a G code interpreter using C language (Hong et al. 2010). Besides, C++ language is often used to develop G code interpreters that the lexical and syntax rules are usually described by the regular expression provided by GRETA library (Zhang and Yao 2010; Ma and Liu 2012; Cheng, Zhao, and Sun 2016). In contrast to these common programming languages, Latif et al. used LabVIEW to develop a G code interpreter whose analysis part is implemented based on a data extraction mechanism (Yusof and Latif 2015). That is, machining data, such as position, feedrate, spindle speed, etc., is extracted from an input NC program. And they extended this interpreter to handle both G code and STEP-NC (Yusof and Latif 2016).
Development and evaluation of MicroBuilder: a Model-Driven tool for the specification of REST Microservice Software Architectures
Published in Enterprise Information Systems, 2018
Branko Terzić, Vladimir Dimitrieski, Slavica Kordić, Gordana Milosavljević, Ivan Luković
We have developed the textual concrete syntax of the MicroDSL language using Eclipse plug-in named Xtext. The usage of the Xtext plug-in enables creation of language production rules in Extended Backus-Naur Form (EBNF) notation. In Figure 3 we present an example of EBNF rule used for individual microservice specification.