colm icon indicating copy to clipboard operation
colm copied to clipboard

The Colm Programming Language

Results 50 colm issues
Sort by recently updated
recently updated
newest added

:thought_balloon: I suggest to add more [namespaces](https://en.wikipedia.org/w/index.php?title=Namespace#Use_in_common_languages "Use in common languages") to the source files of your class library. Would you like to [reduce the probability for name clashes](https://en.cppreference.com/w/cpp/language/namespace "Documentation")?...

Would you like to replace more defines for constant values by [enumerations](https://en.wikipedia.org/wiki/Enumerated_type#C_and_syntactically_similar_languages "Description for enumerated types") to stress their relationships? - [`COLM_RN_`…](https://github.com/adrian-thurston/colm/blob/28b6e0a01157049b4cb279b0ef25ea9dcf3b46ed/src/colm.h#L116-L119) - [`IN_`…](https://github.com/adrian-thurston/colm/blob/28b6e0a01157049b4cb279b0ef25ea9dcf3b46ed/src/bytecode.h#L41-L345) - [`PCR_`…](https://github.com/adrian-thurston/colm/blob/28b6e0a01157049b4cb279b0ef25ea9dcf3b46ed/src/pdarun.h#L431-L436)

Would you like to add more error handling for return values from functions like the following? * [malloc](https://pubs.opengroup.org/onlinepubs/9699919799/functions/malloc.html "Memory allocation") ⇒ [new_seq_buf](https://github.com/adrian-thurston/colm/blob/28b6e0a01157049b4cb279b0ef25ea9dcf3b46ed/src/input.c#L75) * [printf](https://pubs.opengroup.org/onlinepubs/9699919799/functions/printf.html "Print formatted output.") ⇒ [print_pattern](https://github.com/adrian-thurston/colm/blob/28b6e0a01157049b4cb279b0ef25ea9dcf3b46ed/grammar/pcre/pcre.rl#L828) *...

I would like to point out that identifiers like “[`_COLM_COLM_H`](https://github.com/adrian-thurston/colm/blob/28b6e0a01157049b4cb279b0ef25ea9dcf3b46ed/src/colm.h#L23-L24 "Update candidate")” and “[`__AAPL_AVLI_EL__`](https://github.com/adrian-thurston/colm/blob/28b6e0a01157049b4cb279b0ef25ea9dcf3b46ed/src/aapl/avlcommon.h#L35-L36 "Another update candidate")” [do not fit](https://wiki.sei.cmu.edu/confluence/display/cplusplus/DCL51-CPP.+Do+not+declare+or+define+a+reserved+identifier#DCL51CPP.Donotdeclareordefineareservedidentifier-NoncompliantCodeExample%28HeaderGuard%29 "Do not declare an identifier which is reserved for the...

Is TXL even available in source form? I have so far not been able to find any github project for TXL. Making Colm the obvious complete replacement for TXL.

Trying to convert `colm` grammar to be used on https://mingodad.github.io/parsertl-playground/playground/ I've got an initial port that could generate an `EBNF` understood by https://www.bottlecaps.de/rr/ui to generate a railroad diagram for `colm`,...

Colm fails to be built with Clang ASAN. ``` CC=clang CXX=clang++ CFLAGS="-fsanitize=address,undefined" CXXFLAGS="-fsanitize=address,undefined" ``` The error shows there are thousands of leaks. ``` ... Indirect leak of 1 byte(s) in...

libtool: link: g++ -Wall -DINCLUDEDIR=\"/mingw64/include\" -DLIBDIR=\"/mingw64/lib\" -DABS_TOP_BUILDDIR=\"/home/user/jancy/deps/colm\" -DABS_BUILDDIR=\"/home/user/jancy/deps/colm/src\" -DLOAD_INIT -Wall -g -o .libs/bootstrap1.exe bootstrap1-loadinit.o bootstrap1-main.o gen/bootstrap1-if1.o gen/bootstrap1-parse1.o -L. libprog.a ./.libs/libcolm.dll.a -L/mingw64/lib mkdir -p gen .**/colm-wrap -w bootstrap1 -o gen/bootstrap2.pack \...

[here](https://github.com/adrian-thurston/colm/blob/master/src/bytecode.c#L26)

``` if test '.' != '.'; then \ ln -s -f './'*.exp '.'; \ fi '../../test/runtests' ---- in . testing test_allavl testing test_allsort testing test_avlikeyless testing test_avliter testing test_avlkeyless testing...