12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- /*
- Implementation of the Malio language specifications as seen in the
- official documentation:
- https://notabug.org/Malio/Documentation/src/master/Documentation.md
- Neither this implementation or the official documentation is complete
- so you can expect some immaturity on this.
- Methods:
- - print
- - writef
- - copyf
- Copyright 2015 - Malio dev team
-
- This file is part of malio-cpp
- malio-cpp 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.
- malio-cpp 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 this program. If not, see <http://www.gnu.org/licenses/>.
- */
- #include <iostream>
- #include <string>
- #include <fstream>
- #ifndef BUILTINS_H
- #define BUILTINS_H
- namespace malio {
- // -- METHODS --
- // print method: outputs content to terminal.
- void print(std::string arg);
- // writef method: writes content to a file.
- void writef(std::string content, std::string filename);
- // copyf method: copies one file as another.
- // -- FUNCTIONS --
- } // namespace malio
- #endif
|