spykyvenator

@spykyvenator@programming.dev
1 Post – 8 Comments
Joined 1 years ago

LLVM Is something I want to check out for some time now but never did. yacc I haven't heard about. but its indeed what I'm getting at, why haven't we got a single language that you can adapt to all needs.

8 more...

I think you nailed this.

1 more...

Yes, indeed, I had a hard time explaining this but its what I mean.

1 more...

Yes, they are there to combine several programs into the building process, and could be used for this. What I would want is programs like typescript that preprocess your code with possible changes in syntax and language specification

I don't think that, but it could be. Variables, functions and things like loops, switches and if statements are things that many programming languages have in common. They can be specified without forcing a specific syntax and already take you far from turing machines.

3 more...

I agree, I put an example in my main post, it isn't really a language in that it has as little as possible language specifications. It could be simple or complex syntax based on what plugins you select for your use case. Its not a universal programming language more like a universal programming language specification that most languages fit into.

6 more...

Seems like the better place to post this idd

I'm not trying to target gcc specifically but compilers in general. I just know gcc best which is why its in my examples.