- Rough First Pass implementation for format.h

- Started 2D Transform Component and relevant math extensions
 - Switched sequence to use pointers instead of arrays
This commit is contained in:
2025-09-23 18:07:54 -04:00
parent 1a9a80e37f
commit f636feb4f1
18 changed files with 866 additions and 234 deletions

View File

@@ -30,7 +30,7 @@
#ifndef FENNEC_TEST_LANGPROC_FORMAT_H
#define FENNEC_TEST_LANGPROC_FORMAT_H
#include <fennec/langproc/compile/tokenizer.h>
#include <fennec/langproc/strings/format.h>
namespace fennec
{
@@ -40,20 +40,7 @@ namespace test
inline void fennec_test_langproc_format() {
// tokenizer math = {
// .delimiter { " " },
// .operators {"+-/*="},
// .braces { "()" },
// .escapes { "" },
// .terminator { "" },
// };
//
// const auto res = math.parse("1 + 2 = 3");
// fennec_test_run(res.size(), size_t(5));
//
// for (const auto& token : res) {
// std::cout << token.second << ", ";
// }
fennec_test_run(fennec::format("{}", "Hello World!"), string("Hello World!"));
}
}