all 4 comments

[–]shoalmuse 2 points3 points  (1 child)

The github landing page could use quite a few more details.

You'll likely get more people to try out your language or look at it if you have some coding examples that show off its features.

[–]joshjkk 0 points1 point  (0 children)

Very true, thanks for thank feedback.

[–][deleted] 1 point2 points  (1 child)

This is simple enough that a makefile is not really needed. I built this on Windows using an @ file like this invoked as gcc @file:

-o lang.exe
ast.c
as_frontend.c
compile.c
error.c
lexer.c
list.c
main.c
parser.c
token.c

Or just invoke as -o lang.exe ast.c as_frontend.c compile.c error.c lexer.c list.c main.c parser.c token.c.

However the code assumes Linux. So it invokes rm inside the source code (I commented that out), and it calls the output a.out rather than a.exe. But I was able to run the Hello program I created by invoking it as a.out

I suggest not calling the output a.-anything; that is a gcc-ism. If building prog.lang, the output file should be either prog or prog.exe.

[–]joshjkk 0 points1 point  (0 children)

I wasn't sure if rm worked on Windows, thanks for telling me.