Coco/S is a compiler generator that takes plain EBNF grammar files and features a SAX style call back API. It is written in Java and produces a Java Scanner (Lexer) and Parser for the language described by the input grammar.

Coco/S is a branch of the 2010/11 release of Coco/R for Java.

While Coco/R takes an attributed grammar file, Coco/S has a callback API. This has the advantage of a clean separation between grammar (EBNF) and Compiler/Interpreter.

Features

  • Takes a plain EBNF grammar file.
  • Generates Scanner (Lexer) and Parser for the source language.
  • Preserves modifications in ParserListener for continous development.
  • Native LL(1) parser with conflict resolution effectively allowing LL(k) grammars.
  • Generated code is Java.

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow Coco/S Parser Generator

Coco/S Parser Generator Web Site

Other Useful Business Software
Get Avast Free Antivirus with 24/7 AI-powered online scam detection Icon
Get Avast Free Antivirus with 24/7 AI-powered online scam detection

Get protection for today’s online threats. Free.

Award-winning antivirus protection, as well as protection against online scams, dangerous Wi-Fi connections, hacked accounts, and ransomware. It includes Avast Assistant, your built-in AI partner, which gives you help with suspicious online messages, offers, and more.
Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Coco/S Parser Generator!

Additional Project Details

Languages

English

Intended Audience

Developers

User Interface

Command-line

Programming Language

Java

Related Categories

Java Code Generators, Java Compilers, Java Parser Generators

Registered

2014-08-27