actions as closures

Actions are now closures ; "complex" example work and can actually build tokens using lexed content