[LANG] Preview of my new programming language — Responsive site!
I've been rather silent for a while since I've been working a lot on my new programming language: mollusk. It's a prototype-based object oriented language (think smalltalk or io) designed to run on embedded systems.
If you're unfamiliar with the domain, that last sentence might not have much impact. The type of embedded systems I'm referring to are extremely memory-constrained — how about 2KB of program space and 256 bytes (bytes) of memory! With this in mind, the idea of a prototype-based OO language might seem a bit more ambitious, and indeed it's a rather tall task to make it all work efficiently.
But don't let me blather on about it, that's why I made the site! Check it out at https://wk5.fuzzyastrocat.repl.co/, where you'll see some examples of the language and more info about how it works (or will work, in some cases).
And, the site is fully responsive! Featuring rearranging columns to make the most of your space and easier to view. Observe:
Enjoy the site, and stay tuned for the language release!
This is very cool, also could someone help me make a programming language, I think it would be fun to make visuals to c#
@Bunnytoes Thanks! If you have any specific questions feel free to ask me — otherwise, you'll want to get a basic overview of how a programming language works. I think Nystrom does this well. From there, you can make a few decisions about your language: interpreted? compiled? transpiled? C# (for reference) is interpreted on a bytecode VM, so if you're looking to make something similar to it that might be a good place to start.
There's really two good (free) online resources that I know of about language design:
- If you're making an interpreted language, check out https://craftinginterpreters.com/. (To read it free online, just scroll down a bit.) This guide is a definitive resource on programming language design in general, but specifically goes into great depth about how to build an interpreter.
- If you're making a compiled language, check out https://norasandler.com/2017/11/29/Write-a-Compiler.html. This one's a bit more barebones, as it doesn't go into quite as much depth about language design, but it's an awesome resource for making a compiler from scratch. Unfortunately, it's incomplete, but if you make your way through it by the end you should have enough knowledge about language design to keep going on your own. (If you follow this guide, it still might be useful to check out craftinginterpreters if you get unsure about any general language design practices.)
If you're making a transpiled language, well, I'm not really sure of any resource for that. It'd probably be best to follow the resource for compiled languages, but instead of outputting assembly make your language output [whatever the transpiler target language is]. Since there isn't any definitive resource (that I know of) for this approach, it might not be best to start with.
And a final note: you mention graphics. Graphics is a big task and language development is very slow, so don't expect to be doing graphics anytime soon in your new language. First, just focus on making the language work and develop it to the point where it's usable (which will take a long time), only then should you start thinking about extra libraries and functionality (i.e graphics, web, etc).
I’ve actually been getting more into using physical hardware recently so it’s cool to see a lang that uses such little memory.
WHY DO ALL THE GOOD CODERS MAKE PROGRAMMING LANGUAGES THAT I DO NOT UNDERSTAND AND THAT I DO NOT HAVE THE CAPABILITY TO CREATE
PLEASE TEACH ME THE ART OF MAKING LANGUAGES (in a few years) OH FUZZY ONE
@Whippingdot "Do not have the capability to create" is patently false, it's just the "do not yet understand" part. You can always learn something, even if it seems hard. (If you have any questions about language design or want tips to get started, just ask!)
Regarding the CSS: Really? I rather like it, but maybe that's just me. Could you tell me what you don't like about it, that I might improve upon it?
(Also, just making sure it's rendering correctly — your page looks like the image in the post right? Click on the image to zoom in, I realize it's a bit small)
Well the CSS is alright, but I personally don't like the grey. Lots of people use a black and grey design on their websites which kinda got worn out and now it just doesn't seem that good anymore. Maybe add more colorful elements? I love black too but maybe a pinch of other dark stuff like blue, green, brown, or maybe even purple? (I saw some colors in the links but those might not be enough) @fuzzyastrocat
Also this might be too much work but another suggestion is to add a dark and light mode button
@Coder100 Cool! (Private repo?)
Sure, if you have any questions I'd be glad to answer them.
And yes, funnily enough I was actually modeling after the Ruby frontpage, but then after I realized "oh wait my subconscious picked a font that's almost exactly the same as the Rust page". Kept it though since it looks nice
EDIT: Oh, found the repo, realized the link was just misspelled