adds appendfile() function to main module + adds TODOs for source files which do not terminate with a blank line

merges all highlighter functions into one highlighter module

replaces stack buffers with UCX buffers

minor fixes and macro removals

cleans up includes

highlighter now use the UcxBuffer API for writing to the destination buffer

words (token) are now stored as sstr_t

refactors highlighter_t and removes abstraction overhead

changes signature of parser functions to use a UcxBuffer - the functions itself don't use the API yet

cleans up formatfile function up to the parser call

cleans up main function

replaces custom copyfile() function with ucx_stream_copy calls

increases input buffer + adds regression tests

fixes plaintext output

adds UCX + changes how the input file is read (uses an consecutive memory area now)

use macros for exit codes

(0) -16 +16 tip

mercurial