about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2025-07-18Remove gotos in executor.c HEAD masterNakidai
Reading the code again I noticed using goto here for no good reason. Well, not a critical issue anyway this should improve readability
2025-04-18Remove unneeded breaksNakidai
2025-04-15Add cat.ccl exampleNakidai
2025-04-15Move empty file checkNakidai
I find checking file for emptyness in tokenizer.c rather than just after reading more correct as file is read without any errors Also, warning won't be printed with -v anymore
2025-04-15Treat empty files as validNakidai
Though with -v set warning is printed
2025-04-14Set ASAN_OPTIONS=detect_leaks=0 for testsNakidai
I know that there're memory leaks, but I don't care about them. Though some other feautres from asan may be helpful
2025-04-09Fix some style inconsistencyNakidai
2025-04-09Add check if file size is 0Nakidai
2025-04-08Add cnt.ccl exampleNakidai
2025-03-31Add asserts for * and ~Nakidai
2025-03-31Improve tokenizer.cNakidai
- Use CodeStatus instead of 2 variables for comments - Use errx instead of assert
2025-03-31Add multiline comment exampleNakidai
2025-03-31Free file buffer after lexingNakidai
2025-03-31Make usage functionNakidai
2025-03-31Add test target to main MakefileNakidai
2025-03-31Add 2 more examplesNakidai
- Number parser - Factorial (2 ways to implement)
2025-03-31Edit test structureNakidai
2025-03-31Some style improvments v1.3.1Nakidai
- Rename readfile to allocfile (as it actually contains cccl_allocfile function) - Add cccl_ prefix for functions defined in str.c
2025-03-31Move line outsideNakidai
2025-03-31Fix cccl_Executor_OK nameNakidai
2025-03-31Fix infinite loop bugNakidai
When *infinite* loop is called, there's an UB when accessing *p that points to n that was valid only inside the if block
2025-03-30Simplify parserNakidai
Don't call malloc when creating a command, but call cccl_parse function with no tokens as it will call malloc.
2025-03-29Introduce multiline comments v1.3Nakidai
2025-03-28Fix minor things in manpagesNakidai
- Fix One type in macro name - Change order of Xr
2025-03-28Add section to 3cl.1Nakidai
2025-03-26Add note about UBNakidai
2025-03-26Allow EOFNakidai
2025-03-26Update examplesNakidai
2025-03-26Make dump more flexible for streamsNakidai
2025-03-26Add examples as testsNakidai
2025-03-26Fix REPEAT loop v1.2Nakidai
Well, maybe passthrough by default is not that good...
2025-03-26Make number of REPEAT iterations staticNakidai
2025-03-26Fix infinite loopNakidai
2025-03-26Fix man installation path v1.1Nakidai
2025-03-25Add pledge(2) callsNakidai
2025-03-25Add example to READMENakidai
2025-03-25Add example to ccl.7 v1.0.1Nakidai
2025-03-25Update SEE ALSO in the README v1.0Nakidai
2025-03-25Add (un)install targetsNakidai
2025-03-25Add language documentationNakidai
2025-03-25Add BUGS section to 3cl.1Nakidai
2025-03-25Add .1 manpageNakidai
2025-03-25Add some cool featuresNakidai
- I absolutely forgot about # and :, but now fortunately it's a fixed problem - Add -d flag so 3cl will dump its state after executing
2025-03-25Implement all instructionsNakidai
Something doesn't work, though
2025-03-25Add almost done executorNakidai
2025-03-24Some improvementsNakidai
- Fix paser - Add verbose mode
2025-03-24Add codeNakidai
2025-03-23Again...Nakidai
2025-03-23Last time I was here 8 months ago, idk what is thisNakidai
2024-08-24Add more codeNakidai
Add some funcitons to work with variables, add more instructions and add ability to stop the code from `ccl_instruction`