Ccide reads a source program, in one of several programming languages, expands all embedded decision tables, and generates
the new, expanded source.

Ccidew processes C language programs directly. The script, ccide, uses
ccidew and m4, to process BASIC, JAVA, CC, C++, BASH, QB, VB, and EX(euphoria), source files containing embedded decision tables.

Ccide checks all conditions once and only once, avoiding side effects.
Ccide checks tables for conflicts and other errors.

Input example:
//DECISION_TABLE:
// 1 3 2 2 | light == $$ /* 1=red, 2= yellow, 3=green. */
// N - - - | speed == STOPPED
// - - Y - | speed == SLOW
// - N - Y | speed == FAST
// ______|___________________
// X - X - | Stop();
// - - - X | SlowDown();
// - X - - | SpeedUp();
//END_TABLE:

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 2.0 (GPLv2), GNU Library or Lesser General Public License version 2.0 (LGPLv2)

Follow Decision Table Preprocessor

Decision Table Preprocessor Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • This is a wonderful idea! I plan to use this software to help programming students better understand how decisions can be represented in programming logic. Comparing the tables to standard if/then else constructs is educational. Since the source is distributed, students can also see an interesting implementation of a state machine.
Read more reviews >

Additional Project Details

Operating Systems

BSD, Linux

Languages

English

Intended Audience

Advanced End Users, Developers, Education, Information Technology, System Administrators

User Interface

Command-line

Programming Language

C, Unix Shell

Related Categories

Unix Shell Build Tools, Unix Shell Code Generators, Unix Shell Data Visualization Software, Unix Shell HMI Software, C Build Tools, C Code Generators, C Data Visualization Software, C HMI Software

Registered

2004-07-29