Hack Forums
[.NET] NetScript - Scripting Framework [in Development] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] NetScript - Scripting Framework [in Development] (/showthread.php?tid=5333853)



NetScript - Scripting Framework [in Development] - BahNahNah - Jul 10, 2016

Im having a good time learning about parsing. Though i might make a dev thread so people can give me some pointers along the way.
The reason this is not in the C# subforum is because when this is finished, it will be a library that can be used with C# and VB. (This thread will turn into the release thread when its done, no point making 2 threads)
And yeah, i know its messy.

What am i trying to make?
Im trying to make a framework so people can easily add scripting capabilities to already completed projects with little hassle.

So, what have i go so far?
I have a basic framework setup to add methods, variable types and keywords:
Spoiler (Click to View)

basic scripts are running good!
Spoiler (Click to View)

even without good formatting!
Spoiler (Click to View)

So what is to do?
  • Add more types

  • Improve error handling

  • Structure more like a framework

  • Add some sort of heirachy systems fo functions can be called from a class/namespace

  • Add an "event" the osystem so functions in the script can be called from the .net program.



Please leave feedback!

[Github link]


* - Temploit - Jul 10, 2016

I noticed you use

Code
{ get { return ...; } }

which can be simplified in c#6 to

Code
=> ...

Other than that, it looks great!


* - Cecilia - Jul 10, 2016

(Jul 10, 2016 06:28 AM)Temploit Wrote:  I noticed you use

Code
{ get { return ...; } }

which can be simplified in c#6 to

Code
=> ...

Other than that, it looks great!

What happens when people try to compile that in lower versions o.o.


* - Temploit - Jul 10, 2016

(Jul 10, 2016 06:47 AM)LaPanthere Wrote:  What happens when people try to compile that in lower versions o.o.

Then I'd tell you to upgrade to VS 2015 :p


* - Ninja - Jul 10, 2016

Nice release BahNahNah, its nice to see you release so many HQ projects on here.


* - HFDone - Jul 10, 2016

check hackforums.net/showthread.php?tid=4291488


* - BahNahNah - Jul 10, 2016

(Jul 10, 2016 08:21 AM)HFDone Wrote:  check hackforums.net/showthread.php?tid=4291488

Ive seen that. Im trying to do this without using regex.
Thanks though.


* - +Haze - Jul 10, 2016

Look into something called BNF. It's the way a formal language is created.
http://www.multiwingspan.co.uk/images/comp/a23/bnf1.png
http://www.multiwingspan.co.uk/images/comp/a23/bnf2.png

It can be very helpful for the type of project you're working on. Good luck.


* - HeavenSleep - Jul 11, 2016

Check this out also ;)

https://github.com/veler/AlgorithmSimulator


* - Ninja - Jul 11, 2016

Can I write a RAT with this? ( ͡° ͜ʖ ͡°)