Ox is an attribute grammar compiling system that augments Lex and Yacc specifications with definitions of synthesized and inherited attributes written in a combination of Ox and C/C++ syntax. From these augmented specifications, Ox generates ordinary Lex and Yacc specifications that build and decorate attributed parse trees.

The user can specify parse-tree traversals for easy ordering of side effects such as code generation. Ox handles the tedious and error-prone details of writing code for parse-tree management, so its use eases problems of security and maintainability associated with that aspect of translator development.

Features

  • Ox works with the Lex & Yacc versions distributed in the Unix and Solaris operating systems, Flex, RE/flex, Bison, BYacc, BtYacc & MSTA
  • Ox has been compiled & tested under macOS, Linux (Ubuntu), Solaris (OpenIndiana), Windows/Cygwin (incl. MinGW-w64) & Windows/Msys2 (incl. MinGW-w64)
  • Ox & Ox-generated code has been compiled & tested using the GNU, LLVM & Apple Xcode C/C++ compilers.
  • Ox accepts arbitrary non-circular attribute grammars (constrained by the underlying parser generator used)

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow Ox: Attribute Grammar Compiling System

Ox: Attribute Grammar Compiling System Web Site

Other Useful Business Software
Simple, Secure Domain Registration Icon
Simple, Secure Domain Registration

Get your domain at wholesale price. Cloudflare offers simple, secure registration with no markups, plus free DNS, CDN, and SSL integration.

Register or renew your domain and pay only what we pay. No markups, hidden fees, or surprise add-ons. Choose from over 400 TLDs (.com, .ai, .dev). Every domain is integrated with Cloudflare's industry-leading DNS, CDN, and free SSL to make your site faster and more secure. Simple, secure, at-cost domain registration.
Sign up for free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Ox: Attribute Grammar Compiling System!

Additional Project Details

Operating Systems

Cygwin, Linux, Mac, MinGW/MSYS2, Solaris, Windows

Intended Audience

Developers

User Interface

Command-line

Programming Language

C, C++

Related Categories

C++ Compilers, C++ Parser Generators, C Compilers, C Parser Generators

Registered

2018-12-08