OSDN Git Service

Added NT-Basic for the sample program.
[kozos-expbrd/kozos_expbrd.git] / firm / sample / simple_mp3_player / target / os / ntbasic / statement.h
diff --git a/firm/sample/simple_mp3_player/target/os/ntbasic/statement.h b/firm/sample/simple_mp3_player/target/os/ntbasic/statement.h
new file mode 100644 (file)
index 0000000..36daf14
--- /dev/null
@@ -0,0 +1,56 @@
+/**
+ * @file statement.h
+ * @author Shinichiro Nakamura
+ */
+
+/*
+ * ===============================================================
+ * "Natural Tiny Basic (NT-Basic)"
+ * "A tiny BASIC interpreter"
+ * ---------------------------------------------------------------
+ * Core statement module
+ * ===============================================================
+ * Copyright (c) 2012 Shinichiro Nakamura
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use,
+ * copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following
+ * conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ * ===============================================================
+ */
+
+#ifndef STATEMENT_H
+#define STATEMENT_H
+
+#include "core.h"
+
+void statement_print(core_t *core);
+void statement_goto(core_t *core);
+void statement_if(core_t *core);
+void statement_for(core_t *core);
+void statement_next(core_t *core);
+void statement_input(core_t *core);
+void statement_gosub(core_t *core);
+void statement_return(core_t *core);
+void statement_rem(core_t *core);
+void statement_read(core_t *core);
+void statement_write(core_t *core);
+
+#endif
+