I could probably ask Jeffo or someone from gimkit themselves. Would be funny to know though
Responding to everyone(@here) who said something about the idea of building the programming language I say:
I was mainly planning to add one property to handle all of the source code being inputted with triggers and buttons. Then looping through this with a repeater and a trigger that will handle the block code of it all. Then tokenizing all of the source code and sending the tokens to a property and then another trigger to handle the parsing of the tokens.
I donāt think they would know off the top of their heads. Maps are stored as a JSON file I believe, so the way to make the largest map file would be to make the JSON file as large as possible. That would mean finding the devices will the most options and longest names, then setting all their values to be as long as possible, then placing them at extremely large coordinates.
Yeah. I did some research on making programming languages a while ago, and heard something about having to generate syntax trees. Iām not sure how relevant it is though.
Here is where I learned stuff about making programming langs:
So in another words theyāre all JSON Files also to do that it would take a lot of time in energy that im not committed to doing.
This is what I found when I googled Average size of a JSON file
The typical JSON file size depends on the content and encoding of the data, as well as the compression method used. However, a general recommendation is to keep JSON documents to a few MB in size1. JSON files are usually smaller than XML files when encoded in ASCII and compressed using GZipStream2. An example of a large JSON file is 43.8 GB of uncompressed data
I think really the AST is just a bonus to manipulate the programming language more thoroughly and to return error messages more appropriately.
I am no help here. I just know the barebones of lua and javascript
We are close to a breakthrough!
Bro that seems kind of complicatedā¦
It is.
Thatās why if it was talked about, to see if it could be done.
No practical use, just the lingering question, āCan we?ā
I would be possibleā¦
lol grammer errors.
I would be possible.
It is possible, I mean Iāve built an interpreter language sometime ago! I could be tricky on you first try though.
The thing is I donāt really update my interpreter that much any moreā¦
I think that making a calculator would have its limits, like the size of the inputs and outputs bc the largest number that could be input would be [the amount of memory taken up by block code, devices and stuff]/60 (which is the amount of memory a single text device takes up). (sorry about my previous post)
..why would it be related to the memory taken up though? You can make a repeating input digit system with like 600 memory or so
Also we dont really need numbers bigger than google(the number) for the sake of this, and if we did, we can at least use scientific notation to output it
right now I think that this actually has kinda gotten away from the original topic (making a new programming language) to making a working desmos calculator. also, to respond to @Dungeonmaster , using scientific notation would actually take up more memory, because there that would include decimals, and we donāt want decimals due to it using more devices
It doesnt really matter for this⦠the memory required is just around two block codes cycling, if you decide to build a programming language you should be able to fit that in
still, how would the output system work?