TheMostCursedRoom

TheMostCursedRoom

Room for discussion of the Cursed language and it's features | Github Repo: https://github.com/AMiller42/Cursed-language | Interpreter: https://amiller42.github.io/Cursed-Language
1319d ago – user
691
12

export all events for this room

Starred posts

Aug 16, 2021 17:30
I believe the lexer/tokeniser is now complete:
https://tio.run/##1VjvTttIEP/up5i6vSYuwQR6vT9J4QQl7SHRVKJp70NAxXGWZIVj57xrQoBI/d536hv0Jfoi3Mzu2rFDgMCJOzWKonhmdmb295vZ9a4cD5nwYz6Ul5crz6zXPGA1CNgpi10prFafCxjFTPp91oUjVIL0jpkA2Wfg@X4SC5SLKIl9Bn7URWHYBRl7oTiK4oEALi0eygg8CLiQEB2BJ0QSs24whn4Uxxyto2MWigpgDgxwlPI99GLBw55rPVuxLMwLWmQFkrIFHvpB0mU1CwDet/Z2mm/oHz3IGAehL@b2XCiV/mRBEJVKpG1@eLvV2DN2zWTQYXFqt7r2vAI/v/jF/fW338ng4@bep/eNlrH96MXc6@DEMXHeCwcslBXgLnPBfrlsA@ZrL2/YZLy7udXYNaN2vQ4L0gC1gJ5UutuN962d5mZr513TWG6C0kKXCclDT/IoNMPqSlEnu7/e7W2nnpmULIZeHCVDDICIcN8LEM5jNh5FcTcNam8nBIZdAftVNEA8mUpyp7ndaLay2CEb
2
Aug 10, 2021 15:33
That's a horrible idea.
Let's do it.
2
Jul 23, 2021 21:30
There are no asynchronous functions. Instead, there’s asyncgoto.
2
Jul 22, 2021 19:07

Cursed programming language features

21 mins ago, 11 minutes total – 61 messages, 4 users, 0 stars

Bookmarked 8 mins ago by Redwolf Programs

2
Aug 19, 2021 13:26
in The Nineteenth Byte, 11 hours ago, by Aaron Miller
Why is it that making the site cursed is about twice as difficult as making it good?
Aug 17, 2021 16:00
First draft of the (currently non-functioning) interpreter: amiller42.github.io/Cursed-Language
Aug 16, 2021 17:37
This language makes me way happier than it should.
Aug 9, 2021 15:48
Yeah, none of that wack stuff.
Aug 9, 2021 15:11
I've written an example FizzBuzz program to use for writing/testing the lexer/parser/interpreter: gist.github.com/AMiller42/7219aaca47cc01753084635c49d3b521
Jul 23, 2021 21:39
goto should start a new thread, one that follows the goto and one that follows standard execution order. Once they "reconvene" together (at the end of the program, or at a label), choose one of the threads at random :P
Jul 23, 2021 20:59
output should be via your country's emergency alert system
Jul 23, 2021 20:58
Input/output is done by sending and receiving packets with your brain.
Jul 23, 2021 20:50
Input should be done via morse code through clicks :P
Jul 23, 2021 20:49
@AaronMiller Output should be via some system that alerts you :P
Jul 23, 2021 20:49
Just sending to STDOUT is too basic :P
Jul 23, 2021 20:47
I just realized that I followed a statement about truth-machines with a statement about how output will be via alert() commands. Now I'm imagining infinite 1's outputted in that way, and it is physically painful.
Jul 23, 2021 20:42
@user Instead of turning the erroring code into a string, we should make sure that it won't error again by replacing the erroring code with known good code, like a "Hello World!" program or something.
Jul 23, 2021 20:35
@cairdcoinheringaahing True. It'll have to reverse the arguments, as well as actually take each argument and reverse it, so 123÷456 would instead do 654/321
Jul 23, 2021 20:34
So 123÷456 would represent 0.2697368421
Jul 23, 2021 20:34
That's too sensible
Jul 23, 2021 20:33
Or there's no way to represent floats and instead you have to use fractions, i.e. you have to use float division.
Jul 23, 2021 20:32
Floats should be 123÷456, meaning 123.456 :P
Jul 23, 2021 20:32
Or you do like Vyxal used to and use as the decimal separator.
Jul 23, 2021 20:30
@user Implement prime testing by randomly choosing a number less than x, and output whether x is divisible by that :P
Jul 23, 2021 20:30
@user There are four possible options, and which one is executed will be selected by fair dice roll, guarenteed to be random. /s
Jul 23, 2021 20:24
Also, since I'm implementing it in JS, output is done via alert() statements.
Jul 23, 2021 20:20
While loops confirm before ending by running an extra time and seeing if the condition is still false. If not, they keep going.
Jul 22, 2021 20:10
Jul 22, 2021 19:08
Goto statements