c4 icon indicating copy to clipboard operation
c4 copied to clipboard

C in four functions

Results 28 c4 issues
Sort by recently updated
recently updated
newest added

``` root@localhost:~# gcc -o c4 c4.c c4.c: In function ‘next’: c4.c:56:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] 56 |...

Optimized the Makefile to enhance the build process for faster compilation. Addressed existing bugs in the code to improve overall stability. These changes aim to assist users who have been...

When it comes to error handling, error detection and reporting are required at all stages of the code. This is a simple error handling part.

Current compilers may lack friendly error messages when faced with errors. Improved error handling and more specific and readable error messages help developers debug code more easily.

I cut my teeth on Small-C eons ago and c4 is an absolute delight and very clever. However, I did think the lvalue trick looked too fragile and indeed, if...

With HEAD, I kept always error about usage when I tried the commands in README.md. The input filename wasn't being read in correctly. This is slightly sloppy since stdint.h isn't...

It would be helpful if the README had a longer description. Something like: > A one-pass compiler for a subset of C, relying on a recursive-descent parser, doing the lexing,...

In order to make a script useful for a real world I'd like to write int main() { int sens1_val; int sens2_val; while(1) { sens1_val = m_sensor.GetDataByValType(1, SENS_VAL_TYPE_TEMP); sens2_val =...