Building a programming language, now possible?

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.

1 Like

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.

1 Like

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:

1 Like

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

1 Like

We are close to a breakthrough!

3 Likes

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?ā€

4 Likes

I would be possible…

lol grammer errors.

I would be possible.

3 Likes

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…

2 Likes
1 Like

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?