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

This post was flagged by the community and is temporarily hidden.

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

3 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