From 89ac407f4bf5ed9d219978cd678252ce1b175fa8 Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com> Date: Mon, 27 Feb 2006 00:38:47 -0600 Subject: [PATCH] Added more builtin functions; added python code support --- moo/mooedit/syntax/ms.lang | 7 + moo/mooutils/mooscript/Makefile.incl | 1 + moo/mooutils/mooscript/mooscript-builtin.c | 203 ++++++ moo/mooutils/mooscript/mooscript-context.c | 57 +- moo/mooutils/mooscript/mooscript-context.h | 4 +- moo/mooutils/mooscript/mooscript-node.c | 71 ++ moo/mooutils/mooscript/mooscript-node.h | 22 + moo/mooutils/mooscript/mooscript-parser.c | 77 +- moo/mooutils/mooscript/mooscript-parser.h | 2 + moo/mooutils/mooscript/mooscript-value.c | 16 +- moo/mooutils/mooscript/mooscript-value.h | 4 +- moo/mooutils/mooscript/mooscript-yacc.c | 803 +++++++++++---------- moo/mooutils/mooscript/mooscript-yacc.h | 82 ++- moo/mooutils/mooscript/mooscript-yacc.y | 13 +- 14 files changed, 865 insertions(+), 497 deletions(-) create mode 100644 moo/mooutils/mooscript/mooscript-builtin.c diff --git a/moo/mooedit/syntax/ms.lang b/moo/mooedit/syntax/ms.lang index 56952c9a..d92a6f64 100644 --- a/moo/mooedit/syntax/ms.lang +++ b/moo/mooedit/syntax/ms.lang @@ -6,6 +6,7 @@ + @@ -13,6 +14,10 @@ + + + + @@ -49,9 +54,11 @@