General info: Sequensa is a esoteric programing language based on C++ stream syntax that is good enough to actually use it.
Read more about Sequensa programming language here
Learn how to compile/install Sequensa here
This repository contains:
- Sequensa API - single file embeddable C++ Sequensa API
- Sequensa STL - shared libraries injected into Sequensa at runtime
- Sequensa CLI - application used to compile and run Sequensa programs
- Interactive shell and extensive CLI
- Compiler and decompiler
- Easy to embed (single file API)
- Simple to use dynamic library interface
- Bindings to different languages (Java, Python)
The API is located in /src/api/SeqAPI.hpp
and contains all the basic documentation to get you started
#define SEQ_IMPLEMENT
#include "SeqAPI.hpp"
int main() {
std::string code = "#exit << \"Hello World!\"";
auto buffer = seq::Compiler::compileStatic( code );
seq::ByteBuffer bb( buffer.data(), buffer.size() );
seq::Executor exe;
exe.execute( bb );
std::cout << exe.getResultString();
}