🌕 Night - My Programming Language 🌑
I feel like my logo is a little too fancy. I'm working on something simpler. Any suggestions?
Hey guys! This is my language I'm currently working on. It's still in early development, so it can't do much yet, but I still have a long way to go.
You can also view my language on GitHub as well for more details and an inside look at future plans, and the code! And don't forget to leave star :)
Anyway, I modified it a bit here, so you can run the repl and code directly. All you have to do is run the repl, write your code in the console, and then, type in
RUN, and hit
ENTER to run the code.
Try it out!
Note: To paste text in the console, use
Ctrl + Shift + V.
Another Note: The
RUN command actually isn't part of my language, but I added it in so it's easy for you guys to run the code here.
It can basically print any expression (you'll see later).
Note: operator precedence follows C++ style.
This is the good part :)
And that's it! Make sure to check out my GitHub page for more info! And feel free to leave any feedback or questions in the comments below.
i cannot keep this in anymore:
can i help build and refine the website?
I have been building a css library called "Flightcss" which is fully customisable in theme. (even MarcusWeinberger likes it)
If i am able to help - i will need a nodejs repl (also, if you create a team called "night" you can get a url like "web.night.repl.co") called "web" (if you have a team called Night). that is literally it.
also, the current website violates one design recommendation (google even recommends this) - do not use black and white.
this is due to eyestrain so it is better if you use #222 and #eee or #222 #ddd.
still though great work so far! :)
Hi dynamic squid - can i ask you to come look at the webpage. sadly, i could not accept the changes made as they would cramp the page on mobile and having search on references is not a good idea as the search is for the entire site. but search now works. search for "display" and then "hghhdgfj" (you need to press enter.) @DynamicSquid
@TheForArkLD I did steps 1-5, but I don't have discord. but I forked it though. could you send the info through like a pull request or something? https://github.com/DynamicSquid/polygott/tree/master/languages
I LOVE the fact that you're taking it easy and making it simple since it is your first go at making a programming language. I should've done that. It is way easier to just make a copied version of a language then adapt the copied version of a language into your own as time goes on.
I, on the other-hand, tend to get myself caught up on a whole bunch of useless stuff(that probably don't even have a use) and waist my time when I could be fixing the hundreds of bugs my programming language has, lol.
But good job man! You're by far wayy smarter and wayy more advanced than me. Keep it up you're doing great!!
@hhbo64 Okay, so first you pass code input through something called the lexer. And what the lexer does is it tokenizes the input into tokens, like this:
A token is a struct/class. The type is an enum and the actual token is a string.
Then you pass that through a parser. There are many different types of parsers around, but mine looks like this:
So now we have a value. Then we do the runtime:
And that's it :) Let me know if there's parts in which you're confused. Check out the GitHub page for more info
I visited your page a couple days ago and saw this. But when I looked at it, it had a bunch of folders. Right now it looks like a bunch of binary. How did you change this? (And how did you write and understand that gibberish?)
I like the way your recent projects have been heading lately. Also would you like to give me some programming advice on a project i have been building lately?