BSD Ports

lang/cocor 1.7_4 DragonFly

Compiler generator that combines the functionality of lex and yacc

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
lang
Package size
156.3 KiB, 964.3 KiB installed

Description

Coco/R combines the functionality of the well-known UNIX tools lex and yacc, to form an extremely easy to use compiler generator that generates recursive descent parsers, their associated scanners, and (in some versions) a driver program, from attributed grammars (written using EBNF syntax with attributes and semantic actions) which conform to the restrictions imposed by LL(1) parsing (rather than LALR parsing, as allowed by yacc). The user has to add modules for symbol table handling, optimization, and code generation in order to get a running compiler. Coco/R can also be used to construct other syntax-based applications that have less of a "compiler" flavour.

Coco/R is available in Oberon, Modula-2, Pascal, Delphi, C, Java and C# versions. This port only builds the C/C++ version.

In the other systems

SystemPortVersion
DragonFlylang/cocor1.7_4
FreeBSDlang/cocor1.7_4
HardenedBSDlang/cocor1.7_4
GhostBSDlang/cocor1.7_4

Install

Binary package:

pkg install cocor

From DPorts:

cd /usr/dports/lang/cocor && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

===>   NOTICE:

The cocor port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing