Okay. Before N# is released, I have a few design choices I'll leave up to you guys.
1) Should the Graphics, Gyroscope, and Microphone classes be non-static (require an object) or static (no object is needed).
2) How important are instance variables to you guys? If you want me to implement those, it will take more time and cause slower compilation/run speeds.
3) How important is a "this" keyword/function (like "this.x=x")
4) Anything you guys want me to add specifically?
Nossrec, The Precompiler Made To Replace SmileBasic
use "HardW" use "Console" static class entry def public void main() int x, y while (true) HardW.TouchLoc ~> x, y Console.Clear Console.Println str(x) + ", " + str(y) [SB]WAIT 1 end end end staticOkay, here's an update on what I've been working on.
Okay, this.variable and foreach are now fully implemented into N#! So now, you could do something like this if you wanted:
use "Console" static class entry private int x = 1 def public void main() int[] x[0] x = [| 1, 2, 2 |] x[2] += this.x foreach (int i in x) Console.Println i end end end staticOutput: 1 2 3
I reprogramed a bit of N# so that it supports full AOT compilation! So basically, compilation at runtime is no longer mandatory.
This means MUCH, MUCH quicker loading times, and open-source code is not required. It also means smaller project sizes.
When you see someone publishing a program using this, should it be in your language or can they upload the compiled code?They can publish the compiled code if they don't want it open-source. I'll just have the compiler put a something like 'Made with IAmAPersson's N# compiler! in the source. I'll also probably request people say that it's made in N# or something. Not quite sure yet.
I'll ask people kindly to put my name somewhere in a CHEM_L program, but I'm fairly sure no one will use it but me.When you see someone publishing a program using this, should it be in your language or can they upload the compiled code?They can publish the compiled code if they don't want it open-source. I'll just have the compiler put a something like 'Made with IAmAPersson's N# compiler! in the source. I'll also probably request people say that it's made in N# or something. Not quite sure yet.