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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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