Skip to content

immediate C - iC for short - is a declarative extension of the procedural language C - useful for control and robotics

Notifications You must be signed in to change notification settings

JohnWulff/immediatec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

immediatec

immediate C - iC for short is a declarative extension of the procedural language C - useful for control and robotics as well as dealing with events generated in a GUI.

It utilizes the syntax of C to give meaning to statements that have no semantic support in C. In addition to standard variables, which are modified by the flow of instructions, iC provides so called 'immediate' variables, whose values are updated, whenever a change of input calls for an immediate change in output. An efficient Data Flow technique implements this strategy.

iC provides programmers with built in operators, whose function is closely modelled on integrated circuits. The name iC is a reminder of this fact. Logical AND, OR, EXCLUSIVE-OR and NOT as well as D flip-flops, SR flip-flops and many others are implemented in such a way, that their use in iC follows the same design rules, which apply to their hardware counterparts. These rules have led to a well-developed hardware technology, whose effectiveness is demonstrated by the success of today's complex computer hardware. Particularly the concept of clocked functions plays an important role in the language iC. It gives the same protection against timing races in iC programs, as it provides for hardware IC designs. But iC is not a hardware description language nor a simulation language – it provides the functionality and some of the speed of field-programmable gate arrays to C programmers.

Writing programs in the language iC has the added quality, that many simple ideas and relationships, which should result in direct actions, can be written down immediately in one line. The coding of call back routines and other overhead is not required. It was this thought, which also prompted the name "immediate C".

immediate C is built with the usual configuremakemake testmake install commands. The src/README explains the details and how to make, run and debug iC apps.

The immediate C Reference Manual doc/iC.pdf describes the iC language and its built-in Functions in detail. The iC Programming Manual doc/iC_prog.pdf describes programming and using the iC language.

immediate C can execute direct Input/Output on a Raspberry Pi computer. Drivers are included for digital I/O on GPIO’s and PiFace cards as well as a driver for PWM analog output on GPIO’s and analog input from an MCP3008 A/D converter. See src/README.RPi for details.

About

immediate C - iC for short - is a declarative extension of the procedural language C - useful for control and robotics

Resources

Stars

Watchers

Forks

Packages

No packages published