Implements basic and naive eval

Signed-off-by: Julien Danjou <julien@danjou.info>