@book{El_Mahrouss_OCL_org_Primer,
author = {El Mahrouss, Amlal},
year = 2026,
title = {{OCL.org Primer.}},
url = {https://ocl.nekernel.org}
}
https://github.com/ocl-foss-org/fix
https://github.com/ocl-foss-org/tproc
- Boost
- BJam
- Git
- MinGW/Clang
Text Processing is a hard task to do -- especially for text editors, IDE.
TProc gives you a simple and understandable interface in C++.
int main()
{
auto rope = tproc::crope("The Quick Brown Fox Jumps Over The Lazy Dog");
auto new_elem = std::make_unique<tproc::crope>(", and Jumps again.");
rope.concat(new_elem.get());
std::cout << *++rope << std::endl;
}
One rope may be converted to string using the following method:
std::basic_string<basic_rope::value_type>> basic_rope::to_string(); std::basic_string<basic_rope::value_type> basic_rope::to_string() const;
ocl::fix::visitor basic_visitor;
ocl::fix::range_buffer fix = basic_visitor.visit(default_fix);
You will in return be able to index the message fields now. And print them for example:
ocl::io::print(":value=", fix["35"], "\n");
Next, we'd advise you to read the documentation at https://docs.ocl.nekernel.org to continue further on developing for the OCL.