new license
This commit is contained in:
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,2 +1,21 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../runtime/o_staticmap.h"
|
||||
extern const StaticMapSlot bins_basic[];
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include "files.h"
|
||||
|
||||
@@ -1,2 +1,21 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../runtime/o_staticmap.h"
|
||||
extern const StaticMapSlot bins_files[];
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include "math.h"
|
||||
|
||||
@@ -1,2 +1,21 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../runtime/o_staticmap.h"
|
||||
extern const StaticMapSlot bins_math[];
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef EXECUTABLE_H
|
||||
#define EXECUTABLE_H
|
||||
#include "../utils/source.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef AST_H
|
||||
#define AST_H
|
||||
typedef struct xAST AST;
|
||||
|
||||
@@ -1,4 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef ASTi_H
|
||||
#define ASTi_H
|
||||
#include "../utils/source.h"
|
||||
|
||||
@@ -1,4 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WHAT IS THIS FILE?
|
||||
**
|
||||
** This file implements the routines that transform the AST
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef COMPILE_H
|
||||
#define COMPILE_H
|
||||
#include "../utils/error.h"
|
||||
|
||||
@@ -1,4 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WHAT IS THIS FILE?
|
||||
**
|
||||
** This file implements the parser of the language, that transforms
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef PARSE_H
|
||||
#define PARSE_H
|
||||
#include "../utils/bpalloc.h"
|
||||
|
||||
+19
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,3 +1,21 @@
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WHAT IS THIS FILE?
|
||||
** This is the implementation of the "Heap", an
|
||||
** object that provides the rest of the program
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include "objects.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../utils/defs.h"
|
||||
#include "objects.h"
|
||||
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "objects.h"
|
||||
|
||||
typedef struct {
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "objects.h"
|
||||
|
||||
typedef struct {
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include "objects.h"
|
||||
#include "../utils/hash.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include "objects.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include "../utils/defs.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include "../utils/defs.h"
|
||||
#include "objects.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include "objects.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include "../utils/defs.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include "../utils/defs.h"
|
||||
#include "objects.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef OBJECT_H
|
||||
#define OBJECT_H
|
||||
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include "../utils/defs.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef NOJAFUNC_H
|
||||
#define NOJAFUNC_H
|
||||
#include "runtime.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
* WHAT IS THIS FILE?
|
||||
* This file implements an object that makes it possible
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef NOJAFUNC_H
|
||||
#define NOJAFUNC_H
|
||||
#include "runtime.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
*
|
||||
* -- WHAT IS THIS FILE? --------------------------------------------
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef STATICMAP_H
|
||||
#define STATICMAP_H
|
||||
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "../utils/defs.h"
|
||||
#include "../utils/stack.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef RUNTIME_H
|
||||
#define RUNTIME_H
|
||||
#include <stdio.h> // meh.. just for the definition of FILE.
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include "runtime_error.h"
|
||||
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef RUNTIME_ERROR_H
|
||||
#define RUNTIME_ERROR_H
|
||||
#include "../utils/error.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef BPALLOC_H
|
||||
#define BPALLOC_H
|
||||
typedef struct xBPAlloc BPAlloc;
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef BUCKETLIST_H
|
||||
#define BUCKETLIST_H
|
||||
#include "bpalloc.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#ifndef MAX
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef ERROR_H
|
||||
#define ERROR_H
|
||||
#include <stdarg.h>
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include "hash.h"
|
||||
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef HASH_H
|
||||
#define HASH_H
|
||||
int hashbytes(unsigned char *str, int len);
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include "promise.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef PROMISE_H
|
||||
#define PROMISE_H
|
||||
#include "bpalloc.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef SOURCE_H
|
||||
#define SOURCE_H
|
||||
#include "error.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include "stack.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef STACK_H
|
||||
#define STACK_H
|
||||
typedef struct xStack Stack;
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <stddef.h> // NULL
|
||||
#include "utf8.h"
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
|
||||
/* Copyright (c) Francesco Cozzuto <francesco.cozzuto@gmail.com>
|
||||
**
|
||||
** This file is part of The Noja Interpreter.
|
||||
**
|
||||
** The Noja Interpreter is free software: you can redistribute it and/or
|
||||
** modify it under the terms of the GNU General Public License as published
|
||||
** by the Free Software Foundation, either version 3 of the License, or (at
|
||||
** your option) any later version.
|
||||
**
|
||||
** The Noja Interpreter is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
** Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License along
|
||||
** with The Noja Interpreter. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef UTF8_H
|
||||
#define UTF8_H
|
||||
#include <stdint.h> // uint32_t
|
||||
|
||||
Reference in New Issue
Block a user