BSD Ports

lang/cocor 1.7_4 FreeBSD

Compiler generator that combines the functionality of lex and yacc

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
lang
Package size
172.5 KiB, 981.6 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
FreeBSDlang/cocor1.7_4
DragonFlylang/cocor1.7_4

Install

Binary package:

pkg install cocor

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	cocor>0:lang/cocor

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.7_41.7_41.7_31.7_41.7_4
FreeBSD:14:quarterly1.7_41.7_4n/a1.7_41.7_4
FreeBSD:15:latest1.7_41.7_4n/a1.7_41.7_4
FreeBSD:15:quarterly1.7_41.7_4n/an/an/a
FreeBSD:16:latest1.7_41.7_4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

Options name: lang_cocor

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
USES
dos2unix tar:tgz
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

Files

Manual pages 1
  • cocor(1)
pkg-plist 154
  • bin/cocor
  • lib/cocor/cplus2/cr_abs.cpp
  • lib/cocor/cplus2/cr_abs.hpp
  • lib/cocor/cplus2/cr_abs.o
  • lib/cocor/cplus2/cr_error.cpp
  • lib/cocor/cplus2/cr_error.hpp
  • lib/cocor/cplus2/cr_error.o
  • lib/cocor/cplus2/cr_lib.a
  • lib/cocor/cplus2/cr_parse.cpp
  • lib/cocor/cplus2/cr_parse.hpp
  • lib/cocor/cplus2/cr_parse.o
  • lib/cocor/cplus2/cr_scan.cpp
  • lib/cocor/cplus2/cr_scan.hpp
  • lib/cocor/cplus2/cr_scan.o
  • lib/cocor/cplus2/unix.mk
  • lib/cocor/taste/crossref.c
  • lib/cocor/taste/crossref.h
  • lib/cocor/taste/crossref.o
  • lib/cocor/taste/pretty
  • lib/cocor/taste/pretty.atg
  • lib/cocor/taste/pretty.c
  • lib/cocor/taste/pretty.o
  • lib/cocor/taste/prettyc.h
  • lib/cocor/taste/prettye.h
  • lib/cocor/taste/prettyp.c
  • lib/cocor/taste/prettyp.h
  • lib/cocor/taste/prettyp.o
  • lib/cocor/taste/prettypr.c
  • lib/cocor/taste/prettypr.h
  • lib/cocor/taste/prettypr.o
  • lib/cocor/taste/prettys.c
  • lib/cocor/taste/prettys.h
  • lib/cocor/taste/prettys.o
  • lib/cocor/taste/taste
  • lib/cocor/taste/taste.atg
  • lib/cocor/taste/taste.c
  • lib/cocor/taste/taste.frm
  • lib/cocor/taste/taste.o
  • lib/cocor/taste/tastec.h
  • lib/cocor/taste/tastee.h
  • lib/cocor/taste/tastep.c
  • lib/cocor/taste/tastep.h
  • lib/cocor/taste/tastep.o
  • lib/cocor/taste/tastes.c
  • lib/cocor/taste/tastes.h
  • lib/cocor/taste/tastes.o
  • lib/cocor/taste/tc.c
  • lib/cocor/taste/tc.h
  • lib/cocor/taste/tc.o
  • lib/cocor/taste/test.tas
  • lib/cocor/taste/tl.c
  • lib/cocor/taste/tl.h
  • lib/cocor/taste/tl.o
  • lib/cocor/taste/unix.mk
  • lib/cocor/taste/wrong.tas
  • lib/cocor/taste/xref
  • lib/cocor/taste/xref.atg
  • lib/cocor/taste/xref.c
  • lib/cocor/taste/xref.frm
  • lib/cocor/taste/xref.o
  • lib/cocor/taste/xrefc.h
  • lib/cocor/taste/xrefe.h
  • lib/cocor/taste/xrefp.c
  • lib/cocor/taste/xrefp.h
  • lib/cocor/taste/xrefp.o
  • lib/cocor/taste/xrefs.c
  • lib/cocor/taste/xrefs.h
  • lib/cocor/taste/xrefs.o
  • lib/cocor/taste_cp/crossref.cpp
  • lib/cocor/taste_cp/crossref.hpp
  • lib/cocor/taste_cp/crossref.o
  • lib/cocor/taste_cp/pretty
  • lib/cocor/taste_cp/pretty.atg
  • lib/cocor/taste_cp/pretty.cpp
  • lib/cocor/taste_cp/pretty.o
  • lib/cocor/taste_cp/prettyc.hpp
  • lib/cocor/taste_cp/prettye.hpp
  • lib/cocor/taste_cp/prettyp.cpp
  • lib/cocor/taste_cp/prettyp.hpp
  • lib/cocor/taste_cp/prettyp.o
  • lib/cocor/taste_cp/prettypr.cpp
  • lib/cocor/taste_cp/prettypr.hpp
  • lib/cocor/taste_cp/prettypr.o
  • lib/cocor/taste_cp/prettys.cpp
  • lib/cocor/taste_cp/prettys.hpp
  • lib/cocor/taste_cp/prettys.o
  • lib/cocor/taste_cp/taste
  • lib/cocor/taste_cp/taste.atg
  • lib/cocor/taste_cp/taste.cpp
  • lib/cocor/taste_cp/taste.frm
  • lib/cocor/taste_cp/taste.o
  • lib/cocor/taste_cp/tastec.hpp
  • lib/cocor/taste_cp/tastee.hpp
  • lib/cocor/taste_cp/tastep.cpp
  • lib/cocor/taste_cp/tastep.hpp
  • lib/cocor/taste_cp/tastep.o
  • lib/cocor/taste_cp/tastes.cpp
  • lib/cocor/taste_cp/tastes.hpp
  • lib/cocor/taste_cp/tastes.o
  • lib/cocor/taste_cp/tc.cpp

The first 100 are listed.

distinfo 1
FileSizeSHA256
cocorc17.tgz113249df9e3650c2c69adc68632e3350e0e7d9dd57775c869bfb4c9bec4b4eb8676e35
Master sites 3
  • ftp://ftp.psg.com/pub/modula-2/coco/
  • ftp://ftp.ssw.uni-linz.ac.at/pub/Coco/C/
  • http://www.scifac.ru.ac.za/coco/

Commit history 0

No commits in the history this site was built from.