You can have the best tool in the world and still find people just hitting their own face with it.
Engineer and coder that likes memes.
You can have the best tool in the world and still find people just hitting their own face with it.
I did check the bios settings but couldn’t really find anything that would directly affect a pcie card.
Most power management stuff that could cause issues is turned off. Fast boot itself was also off.
Thanks! It’s really funny. Especially since KDE updated to version 6 and caused a lot of issues for other users - so it had to be the a software issue of course!
I’m still not entirely convinced, that it wasn’t a software issue that caused the device to misbehave.
It’s my cat, I am the user 😄
It doesn’t compile or transpile in actuality. It generates Java based on an abstract syntax tree. The concrete syntax is not considered in Java generation by MPS.
Because it was easier to use Java primitives than implement the constants myself.
MPS uses projectional editing. Which means for the user that everything you do is free from concrete syntax, and you basically edit a graphical representation of that abstract syntax tree directly, while it looks like you’re in a textual editor.
So I define abstract nodes that may have certain relationships with each other and then give them a representation in the editor (which is what you see in the screenshot). These nodes may also have generators assigned to them, which use map/reduce operations to generate whatever source code I desire. It usually includes its own bit of code, and triggers code generation of its children as well.
I hope that was somehow clear 😄
Great idea if I have to extend it
I like the way you think! 😂
Yes, it pretty much just wraps the expression in a “System.out.println(<expression>);”
Fortunately I generate Java source code from it. However MPS generates both source and byte code when you build the solution. For some reason I can’t get the byte code to run though, but the source code does, so I don’t care too much.
Very cool, I’d be interested in your publications once you’re done. I like metaprogramming, but once you realise you might have needed it, you’re already knee deep in fresh legacy code.
Valuable input! I actually am an undergrad student. There are a lot of frameworks out there that support writing languages, with MPS being one of them.
If I’d start from scratch again and had a little more time, I’d frankly try writing an interpreter myself, instead of trying to conform to weird framework syntax, which I won’t be able to reuse in any other context.
Saying syntax design is fiddly is an understatement. I focused very hard on getting an abstract syntax somehow finished before working on generation in my first iteration. Then I had so much technical debt, that I couldn’t get anything to work and had to rewrite a lot. So I scrapped it all and started again, starting with top level concepts including generation and only implementing some lower level ones, once everything around it worked properly.
You’re correct, but it doesn’t really matter for demo purposes. In an actual use case (whatever that would be for this language) you would of course want to use some kind of variable or expression there instead of a constant.
It’s a tool for designing domain specific languages. Really interesting!
Correct!
Vibe check is pretty much the scope. Classes aren’t a thing (yet).
Well done, here’s your price: 🏅
You may redeem it for a star on a GitHub repo of your choice.
It all gets put into the main method though in this version 😄
Depends on who you think the people are.
CTOs, technical team leads and such can make those decisions. And devs can also suggest migrating to simpler solutions.
If a tech giant like Amazon can do it like they did with Prime Video, I don’t think it’s impossible other companies can do so too.