55

!rant
I've begun writing my own joke language called Die. Use it to tell your boss, client, or partner how you feel about them!
https://github.com/JackRiales/Die

Comments
  • 2
    Already working on opengl bindings ( ͡° ͜ʖ ͡°)
  • 3
    hahaha this is going to become a devrant community project in no time :D nice one though.
  • 2
    is there a 2048 command cap?
  • 2
    @cors Just for now. Everything is super messy since its just sort of being prototyped at the moment haha
  • 3
    @aki237 New libre-libre office calc coming soon, featuring Die backend confirmed
  • 1
    Is it just me or is it a little buggy?
    Die => "Do nothing" not inc 10
    DIE => "Increment 1" not 100
    diee => "Do nothing"
    Same goes for please

    But cool idea. I'd so use it xD
  • 1
    @darkfire000 specifications aren't necessarily what's implemented. Right now all that works is "die" "please" and "sorry"
  • 2
    @darkfire000 and thanks!!! tell your friends xD
  • 1
    Yea I just took a look at the source files. Do you intend to "complete" it? I think it would be worth it :D
  • 2
    @darkfire000 I do! At the very least I want it to operate as well as brainfuck:)
  • 3
    also submit it here when you're done :)

    https://esolangs.org
  • 2
    @cors oh thanks! I didnt even know that was a thing o_o
  • 1
    Just added a view lines to support Die DIE Please PLEASE. And sorry now prints the value instead of the char in my version. I can do a pull request if you want
  • 1
    @darkfire000 Oh wow! Thank you:) Pull request away
    (going to bed for the night btw, will get back to this thread/git tomorrow morning)
  • 1
    KK I'll do it. I'm in math class right now. So maybe I'll add some more. :P
  • 3
    @cors I'd also love to see it used in StackExchange's Programming Puzzles and Code Golf!
  • 1
    Starred. xD
  • 1
    I think your implementation of the interpreter makes loops quite difficult. Since I am new to C and saw some cool function pointers in your code I wanted to play around a bit. So what I did was creating a brainf*ck interpreter with overly complex function pointers and pointer casts.
    So the point is how I implemented the interpreter. I did it a little bit like you would implement a LinkedList.
    There is an Array of structs that contain a Function pointer and a next/back pointer to a struct of the same kind. The function returns one of those 2 structs when called.
    So all the inc/dec/print/... default functions now return the next pointer, except for the loop function. That one returns either the next or the back pointer. The back pointer is set while parsing the script. Also while parsing the fitting function pointers are added.

    So this is just an idea and I wrote much too much, but maybe it helps you I'll comment the link to it when I upload it to github.
  • 1
    https://github.com/darkfire000/...
    Take a look if you want, but I don't want to force my ideas on you, so if you got a better solution for loops, feel free to ignore me :P
  • 1
    @darkfire000 Cool stuff! The implementation of loops is something I haven't gotten to yet, but this may help a good bit. For now, starring for later reference. Working first on finalizing my design of the thing since people are actually interested:) Probably going to introduce some more complex stuff like variables.
  • 1
    @Notebookdeviant maybe you could store the current pointer by keyword "you", and switch to a saved pointer with "hey" :D

    e.g.: 'you idiot go go die hey idiot DIE' would set array[0] as "idiot", move index by 2, increment, go back to 0 (which is "idiot") and increment by 100.
  • 1
    @cors I like that idea a lot actually!!
  • 2
    Not trying to bump, but thanks to all those who are deciding to contribute!
Add Comment