Modular C
C◼mod◼trivial A trivial context that replaces operator-functions back to their operator.
+ Collaboration diagram for C◼mod◼trivial A trivial context that replaces operator-functions back to their operator.:

Modules

 Specific macros to deal with the structure of module C◼mod◼trivial.
 

Macros

#define C◼mod◼trivial◼_Operator—eq(A, B)   ((A)≡(B))
 
#define C◼mod◼trivial◼_Operator—ge(A, B)   ((A)≥(B))
 
#define C◼mod◼trivial◼_Operator—gt(A, B)   ((A)>(B))
 
#define C◼mod◼trivial◼_Operator—le(A, B)   ((A)≤(B))
 
#define C◼mod◼trivial◼_Operator—lt(A, B)   ((A)<(B))
 
#define C◼mod◼trivial◼_Operator—notnot(A)   (‼(A))
 
#define C◼mod◼trivial◼_Operator—bnot(A)   (~(A))
 
#define C◼mod◼trivial◼_Operator—bnotbnot(A)   (~~(A))
 
#define C◼mod◼trivial◼_Operator—bxor(A, B)   ((A)^(B))
 
#define C◼mod◼trivial◼_Operator—band(A, B)   ((A)&(B))
 
#define C◼mod◼trivial◼_Operator—bor(A, B)   ((A)∪(B))
 
#define C◼mod◼trivial◼_Operator—rs(A, B)   ((A)⪢(B))
 
#define C◼mod◼trivial◼_Operator—ls(A, B)   ((A)⪡(B))
 
#define C◼mod◼trivial◼_Operator—mod(A, B)   ((A)%(B))
 
#define C◼mod◼trivial◼_Operator—div(A, B)   ((A)/(B))
 
#define C◼mod◼trivial◼_Operator—prod(A, B)   ((A)*(B))
 
#define C◼mod◼trivial◼_Operator—sub(A, B)   ((A)-(B))
 
#define C◼mod◼trivial◼_Operator—add(A, B)   ((A)+(B))
 

Detailed Description

Remarks
This has to be compiled in a second phase of the Modular C bootstrap, because the context parser is itself written in Modular C.
Context expressions
Context expression inside « ... » have been replaced with function calls from C◼mod◼trivial

Macro Definition Documentation

§ C◼mod◼trivial◼_Operator—add

#define C◼mod◼trivial◼_Operator—add (   A,
 
)    ((A)+(B))

Definition at line 80 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—band

#define C◼mod◼trivial◼_Operator—band (   A,
 
)    ((A)&(B))

Definition at line 72 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—bnot

#define C◼mod◼trivial◼_Operator—bnot (   A)    (~(A))

Definition at line 69 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—bnotbnot

#define C◼mod◼trivial◼_Operator—bnotbnot (   A)    (~~(A))

Definition at line 70 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—bor

#define C◼mod◼trivial◼_Operator—bor (   A,
 
)    ((A)∪(B))

Definition at line 73 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—bxor

#define C◼mod◼trivial◼_Operator—bxor (   A,
 
)    ((A)^(B))

Definition at line 71 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—div

#define C◼mod◼trivial◼_Operator—div (   A,
 
)    ((A)/(B))

Definition at line 77 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—eq

#define C◼mod◼trivial◼_Operator—eq (   A,
 
)    ((A)≡(B))

Definition at line 63 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—ge

#define C◼mod◼trivial◼_Operator—ge (   A,
 
)    ((A)≥(B))

Definition at line 64 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—gt

#define C◼mod◼trivial◼_Operator—gt (   A,
 
)    ((A)>(B))

Definition at line 65 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—le

#define C◼mod◼trivial◼_Operator—le (   A,
 
)    ((A)≤(B))

Definition at line 66 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—ls

#define C◼mod◼trivial◼_Operator—ls (   A,
 
)    ((A)⪡(B))

Definition at line 75 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—lt

#define C◼mod◼trivial◼_Operator—lt (   A,
 
)    ((A)<(B))

Definition at line 67 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—mod

#define C◼mod◼trivial◼_Operator—mod (   A,
 
)    ((A)%(B))

Definition at line 76 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—notnot

#define C◼mod◼trivial◼_Operator—notnot (   A)    (‼(A))

Definition at line 68 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—prod

#define C◼mod◼trivial◼_Operator—prod (   A,
 
)    ((A)*(B))

Definition at line 78 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—rs

#define C◼mod◼trivial◼_Operator—rs (   A,
 
)    ((A)⪢(B))

Definition at line 74 of file C-mod-trivial.c.

§ C◼mod◼trivial◼_Operator—sub

#define C◼mod◼trivial◼_Operator—sub (   A,
 
)    ((A)-(B))

Definition at line 79 of file C-mod-trivial.c.