Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#48 closed enhancement (fixed)

kmk: Implement better if conditionals

Reported by: bird Owned by: bird
Priority: major Milestone: 0.1.4
Component: kmk Version: 0.1.3
Keywords: if cond expreval Cc:

Description

Implement if conditional expression along the lines of C / BSD make / nmake.

The statement is simply if. The operators are all the ones from C that make sense and a few additional make specific ones.

unary:
   defined, target, bool, num,  str
   +, -, ~, !
binary:
   *, /, %
   +, -
   <<, >>
   <, <=, =>, >
   ==, !=
   &
   ^
   |
   &&
   ||

Change History (2)

comment:1 by bird, 16 years ago

Resolution: fixed
Status: newclosed

Last bits implemented in [1729].

comment:2 by bird, 16 years ago

Milestone: 0.1.50.1.4
Note: See TracTickets for help on using tickets.