sprintf added, terminal colors

small code fixes and rearangements
This commit is contained in:
2021-03-09 22:57:16 +01:00
parent b4862ee196
commit 3f46ae9c94
10 changed files with 392 additions and 13 deletions

12
clib/printf.h Normal file
View File

@@ -0,0 +1,12 @@
#pragma once
#include "../ml.h"
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
std::string mini_sprintf(const std::string &format_str, const std::vector<MlValue> &parameters);