Commit Graph

3 Commits

Author SHA1 Message Date
codewithchill a4f8506fd1 Convert Unicode procedures to stdcall convention.
1. Use cinvoke macro instead of invoke for con_printf
2. Convert `end:` to `P_END:`, As the previous one was a FASM keyword
3. Upgrade all functions in libunicode.asm to use stdcall convention
2026-03-24 11:04:08 +05:30
codewithchill 6658afbe43 Convert initial libunicode into library structure
Edit the example file to reflect the changes
2026-03-24 11:04:08 +05:30
codewithchill 583ff88b47 Add initial libunicode for UTF-8 parsing and example
- Added libunicode.asm to parse UTF-8 strings.
- Implemented count_utf8_codepoints to skip continuation bytes.
- Implemented count_utf8_graphemes to handle ZWJ (E2 80 8D) and combining marks (CC/CD).
- Added console.asm to the examples folder to test and print the results.
- Submitted for GSoC qualification task.
2026-03-24 11:04:08 +05:30