? Nossrec, The Precompiler Made To Replace SmileBasic (Page 3) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password
What's going on?? See: Site Update March 2022

🔒 Nossrec, The Precompiler Made To Replace SmileBasic

1 2 3
  • #41 ✎ 181 computablee Scholar Received for knowing a great deal about programming topics Achievements osu! Is Awesome! I love osu! Express Yourself First Day Joined on the very first day of SmileBASIC Source Website 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? Posted
  • #42 ✎ 1093 Yolkai Head Admin 1. How about the circle pad? With automatic deadzone and range? I think it would be better for the microphone to be initialized as an object, but I can see going both ways for most of them. Wynaut both? 2. 3. Yes. 4. No. Posted
  • #43 ✎ 181 computablee Scholar Received for knowing a great deal about programming topics Achievements osu! Is Awesome! I love osu! Express Yourself First Day Joined on the very first day of SmileBASIC Source Website 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 static Okay, here's an update on what I've been working on. Posted Edited by computablee
  • #44 ✎ 181 computablee Scholar Received for knowing a great deal about programming topics Achievements osu! Is Awesome! I love osu! Express Yourself First Day Joined on the very first day of SmileBASIC Source Website 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 static Output: 1 2 3 Posted Edited by computablee
  • #45 ✎ 181 computablee Scholar Received for knowing a great deal about programming topics Achievements osu! Is Awesome! I love osu! Express Yourself First Day Joined on the very first day of SmileBASIC Source Website 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. Posted
  • #46 ✎ 41 DasEtwas When you see someone publishing a program using this, should it be in your language or can they upload the compiled code? Posted
  • #47 ✎ 181 computablee Scholar Received for knowing a great deal about programming topics Achievements osu! Is Awesome! I love osu! Express Yourself First Day Joined on the very first day of SmileBASIC Source Website
    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.
    Posted
  • #48 ✎ 377 chemicalex Drawing I like to draw! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength osu! Is Awesome! I love osu! Express Yourself
    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.
    Posted
1 2 3