Stationeers

Stationeers

76 értékelés
Basic-IC10-Compiler
12
5
2
2
2
   
Díjazás
Kedvenc
Kedvenc
Törlés
Fájlméret:
Közzétéve:
Frissítve:
313.314 KB
2023. dec. 8., 13:15
2024. febr. 20., 5:58
5 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
Basic-IC10-Compiler

Leírás
This external tool is designed to compile Basic programming language into IC10 MIPS for Stationeers.
You can download the program from this link: [Stationeers-IC10-Automation] https://github.com/exca/Stationeers-IC10-Automation/tree/main/Basic-IC10.
New: Watch the video tutorial to understand how to start.

The tool operates as a standalone program where you can create better scripts using Basic, a high-level language, and then compile them into MIPS for the IC10 (a low-level language). The included minifier in the tool optimizes the compiled code, ensuring it uses fewer lines and helping you avoid reaching the 128-line limit.

Using a high-level language enables faster coding and the utilization of advanced IC10 functions with just a few lines of code. For both beginners and experts, we provide a "Quick Start Guide" with numerous examples.

Features implemented:
- Direct and indirect adressing
- Automatic registers and use o stack to store more registers
- Direct mode (l/s), Batch mode (lb/sb), Name mode (lbn/sbn), Reference ID mode (ld/sd)
- Channel variables
- Arrays of values (automatic stack management)
- Automatic Hash conversion
- If-then-else structure, while, for-next, foreach loops
- Goto, Recursive Subroutines, Custom functions

Check the online help to see the complete list of features and usage.
74 megjegyzés
John szept. 27., 23:18 
yeah, you're right
Exca133  [készítő] szept. 27., 18:32 
Thanks for the suggestion, John.

The format we’re working with here is a high-level language, so it’s not straightforward to add live predictions like in the in-game lb preview. In a low-level language such as IC10 MIPS, each operation expects only one very specific type of parameter, which makes it easier to anticipate the next token. In a Basic-style language, however, there’s no reliable way to predict whether the user intends to type "=", "+", "-", "C", "%", or something else, unless we integrate a machine learning component — which would add too much complexity for this context.

I’m open to any suggestions you might have for a simpler approach.
John szept. 27., 15:32 
could you add predictions similar to the in-game live predictions (aka just like in-game when i type lb and a preview appears, could you do the same thing here)
Exca133  [készítő] aug. 13., 4:13 
Hey @Bosch_Drill,
There were no major changes in the IC10 language, so yes, you can use it.
You asked how precise it is, I’m not sure how to answer that. Since it’s a compiler, the precision depends on your code. You’ll need to understand the device variables and how to use them to control the devices you need.
There are plenty of examples on GitHub to help you get started, and you can also join our Discord for support.
Cheers!
Bosch_Drill aug. 11., 9:07 
Hey! Nice work. Well, last commit at github was last year, i'm kinda wondering, can i still use this compiler for nowadays? Like, make code for devices etc. And how precise is compiler work?
Exca133  [készítő] júl. 4., 19:05 
Ez a megjegyzés automatikus tartalom-ellenőrző rendszerünk elemzésére vár. Ideiglenesen rejtett lesz, amíg megerősítjük, hogy nincs benne kártékony tartalom (pl. hivatkozások olyan weboldalakra, amik információt próbálnak lopni).
zorax4295 júl. 3., 22:53 
Hello would it be PAUSSIBLE to add a functionality allowing us to select the maximum number of lines authorize in IC10 because with mods like More Lines of Code https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=32652725
We have 512 line and not 128
Oakrotic jún. 9., 10:00 
@jarhead

The first result on google for "ChatGPT" is the tool, under OpenAI's site. OpenAI is just the business that develops it, perhaps you thought it was something different?

Anyways, here is the link : https://openai.com/
jarhead ápr. 25., 19:39 
(too bad we can't use C#, C+, C++ or even basic html or java to code this stuff. (I have used those and the different code languages can get confusing while learning them.)
jarhead ápr. 25., 19:37 
Where do I get ChatGPT because I have done a google search for it and keep finding a bunch of news stories or descriptions of it (and other stuff like that) but not the actual software itself or even a website that runs it publicly?