In app Macro language in .Net Core?

SilverShaded

Well-known member
Joined
Mar 7, 2020
Messages
110
Programming Experience
10+
Hi, i though VSTA might be the asnwer but turned out not to be, so does anyone know if there are any easy to implement solutions for having a macro language inside a .Net Core app, int the same way as VBA exists in office apps?
 
Syntax coloring is just eye candy. Focus on getting scripting working first since that will get you the most bang for your time investment. You will have something that can do you some good now, rather than later.

Then after that see about getting syntax coloring. The modern advice nowadays is to do syntax coloring right by actually integrating with your script parser/compiler/interpreter instead of the traditional way of doing syntax coloring where a disjoint or bespoke parser is created.
 
I might just hard code it for my own use, ive also considered blockly which ive used in someone elses app and seemed user friendly.

I will be running out of time soon, sick leave will be ending and then its back to the salt mine!
 
if other people want to use it it would be nice to allow some customisation.
Id place bets that most other people would just use your optimization, even if they can code - their lives are too busy to tinker. If they don't have a busy life then they can learn c# and modify your code (if you give it to them). I've a frond who has created a system similar to your in Python - when I get solar panels I'll just use his software and leave him with the problem of maintaining it for me, even though I can code (but too busy to learn Python)

ps there are likely plenty of ways you can cross the boundary to have a script language get simple variable data from your code
 
Id place bets that most other people would just use your optimization, even if they can code - their lives are too busy to tinker. If they don't have a busy life then they can learn c# and modify your code (if you give it to them). I've a frond who has created a system similar to your in Python - when I get solar panels I'll just use his software and leave him with the problem of maintaining it for me, even though I can code (but too busy to learn Python)

ps there are likely plenty of ways you can cross the boundary to have a script language get simple variable data from your code

Most people are using node red or Home Assistant, and buying a piece of hardware to interface with the inverter "sofarmqtt". I can't be bothered learning node-red, or Java, and this is really just a way to pass the time while a sternotomy heals up. The interpreter stuff just interests me and its something new to learn while i cant do much physical for a while, before heading back to the salt mines (ie work).
 

Latest posts

Back
Top Bottom