spykyvenator
@spykyvenator@programming.dev
- Comment on Does this compiler exist? 11 months ago:
Seems like the better place to post this idd
- Comment on Does this compiler exist? 11 months ago:
Yes, indeed, I had a hard time explaining this but its what I mean.
- Comment on Does this compiler exist? 11 months ago:
I think you nailed this.
- Comment on Does this compiler exist? 11 months ago:
I don’t think that, but it could be. Variables, functions and things like loops, switches and if statements are things that most programming languages have in common. They can be specified without forcing a specific syntax and already take you far from turing machines.
- Comment on Does this compiler exist? 11 months ago:
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 if not all languages fit into.
- Comment on Does this compiler exist? 11 months ago:
LLVM really looks like something that I need to look into
- Comment on Does this compiler exist? 11 months ago:
It is somewhat like running multiple linters and prettifiers but these are hefty tools, the build tool should provide an interface that lets you attach different programs for every little step from code to machine lang
- Comment on Does this compiler exist? 11 months 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.
- Comment on Does this compiler exist? 11 months ago:
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
- Comment on Does this compiler exist? 11 months ago:
Yes, not sure what you mean by this but its indeed what I’m getting at, our compilers aren’t built enough in unix fashion to my liking. gcc handles preprocessing, compilation and linking. but I wouldn’t know how to run a second preprocessor after the first one in gcc
- Submitted 11 months ago to programming@programming.dev | 34 comments