Initial commit: HTab spreadsheet engine and GemUI X11 frontend

This commit is contained in:
Luxferre committed 2026-11-30 17:45:17 +02:00
commit 395f458fee
55 files changed
+12682

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#pragma once
#include "engine/value.hpp"
#include <string>
namespace htab {
// Pure proleptic Gregorian calendar with serial 0 = 1899-12-30.
int ymd_to_serial(int year, int month, int day);
void serial_to_ymd(int serial, int& year, int& month, int& day);
void serial_to_hms(double serial, int& hour, int& minute, int& second);
std::string format_value(const Value& val, const std::string& fmt);
} // namespace htab