From 9e76d377dad809f4aa3faa700883dbfc9b2fa769 Mon Sep 17 00:00:00 2001 From: Teddy Date: Tue, 6 Aug 2013 12:39:39 +0800 Subject: vector, literal support! --- builtin.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'builtin.h') diff --git a/builtin.h b/builtin.h index 322e82e..8ef026e 100644 --- a/builtin.h +++ b/builtin.h @@ -191,6 +191,19 @@ class SpecialOptSet: public SpecialOptObj { string ext_repr(); }; +/** @class SpecialOptLambda + * The implementation of `lambda` operator + */ +class SpecialOptQuote: public SpecialOptObj { + public: + SpecialOptQuote(); + void prepare(Cons *pc); + Cons *call(ArgList *args, Environment * &envt, + Continuation * &cont, FrameObj ** &top_ptr); + + string ext_repr(); +}; + EvalObj *builtin_plus(ArgList *); EvalObj *builtin_minus(ArgList *); EvalObj *builtin_multi(ArgList *); -- cgit v1.2.3