Opened 11 years ago

Closed 11 years ago

Last modified 11 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 Changed 11 years ago by bird

  • Resolution set to fixed
  • Status changed from new to closed

Last bits implemented in [1729].

comment:2 Changed 11 years ago by bird

  • Milestone changed from 0.1.5 to 0.1.4
Note: See TracTickets for help on using tickets.