| Off Topic > Off Topic |
| Programming Megathread |
| << < (238/241) > >> |
| Metario:
mega ultra bump woo! https://github.com/ohninedotseven/Blockland-D/blob/master/main.d |
| Gytyyhgfffff:
i'm bored so i'm making a scripting language out of java just for the heck of it. i only have like 2 weeks of experience in java and no experience with making anything good that isn't in torquescript so maybe if any of you are feeling generous could look over what i have so far and tell me how i forgeted up i got real basic stuff set up right now like creating global variables and doing arithmetic. the math right now follows order of operations but can't do parenthesizes yet because i haven't thought of a way to do those https://github.com/bansheerubber/script |
| Steve5451²:
--- Quote from: Gytyyhgfffff on August 30, 2017, 03:15:26 PM ---i'm bored so i'm making a scripting language out of java just for the heck of it. i only have like 2 weeks of experience in java and no experience with making anything good that isn't in torquescript so maybe if any of you are feeling generous could look over what i have so far and tell me how i forgeted up i got real basic stuff set up right now like creating global variables and doing arithmetic. the math right now follows order of operations but can't do parenthesizes yet because i haven't thought of a way to do those https://github.com/bansheerubber/script --- End quote --- can you show me an example of a script? |
| SUSHI:
--- Quote from: Metario on August 30, 2017, 12:48:28 PM ---https://github.com/ohninedotseven/Blockland-D/blob/master/main.d --- End quote --- Delicious. |
| Gytyyhgfffff:
--- Quote from: Steve5451² on August 30, 2017, 03:18:17 PM ---can you show me an example of a script? --- End quote --- right now you can't script its just declaring variables the only thing that works right now is stuff like this: int test1 = 50 int test2 = 100 + 1 * 3 / 2 int test3 = test1 + test2 notably you have a power operator and i know ^ is usually reserved for something else like xor but i don't care int test4 = 2 ^ 4 i'm hoping to get this working into a full fledged scripting language. i'm not worrying about speed or anything else, i just want to see if i can make a scripting language. the rest of the syntax will probably be sort of like python/lua in that you indent instead of using {}'s because i like that sort of syntax better |
| Navigation |
| Message Index |
| Next page |
| Previous page |