freebsd-ports/math/moo/pkg-descr
Martin Wilke 9509460611 moo is a simple calculator that accepts C-like syntax as input.
Calculations are done on expr, if given. Otherwise, the standard input is used.

Numbers can be entered in hexadecimal (0xbeef), decimal (1984), octal (007),
and binary (0b1001). All numerical operators (+, -, *, /, %), bit operators
(|, ^, &, ~, <<, >>), and logical operators (==, !=, <, >, <=, >=, !, &&, ||)
are supported.

WWW: http://cyth.net/~ray/moo/

PR:		ports/111824
Submitted by:	Steven Kreuzer <skreuzer at f2o.org>
2007-04-19 10:48:07 +00:00

10 lines
423 B
Plaintext

moo is a simple calculator that accepts C-like syntax as input.
Calculations are done on expr, if given. Otherwise, the standard input is used.
Numbers can be entered in hexadecimal (0xbeef), decimal (1984), octal (007),
and binary (0b1001). All numerical operators (+, -, *, /, %), bit operators
(|, ^, &, ~, <<, >>), and logical operators (==, !=, <, >, <=, >=, !, &&, ||)
are supported.
WWW: http://cyth.net/~ray/moo/