npc

nanohard parser compiler
git clone git://git.kocotian.pl/npc.git
Log | Files | Refs

commit f655c067c2f4ed46f900a5100e69fe32ad780049
parent cbb2e165dd814c866b583010a0e8f3d4b080d4cd
Author: kocotian <kocotian@kocotian.pl>
Date:   Mon, 12 Apr 2021 19:29:50 +0200

Commented functions (not implementing custom functions for now :()

Diffstat:
Mnpc.npc | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/npc.npc b/npc.npc @@ -2,12 +2,12 @@ ;; >>> Functions <<< -define function char(c) => ($ichr == c); -define function charFrom(c) => ($ichr >= c); -define function charTo(c) => ($ichr <= c); -define function charAny() => ($ichr); -define function charBetween(c1, c2) => (@charFrom(c1) && @charTo(c2)); -define function compare(s) => (!Strcmpc($itok, s)); +;; define function char(c) => ($ichr == c); +;; define function charFrom(c) => ($ichr >= c); +;; define function charTo(c) => ($ichr <= c); +;; define function charAny() => ($ichr); +;; define function charBetween(c1, c2) => (@charFrom(c1) && @charTo(c2)); +;; define function compare(s) => (!Strcmpc($itok, s)); ;; >>> Tokens <<<