You are browsing as a guest. Sign up (or log in) to start making projects!

Hexus, E-Knowledge

  • 7 Devlogs
  • 21 Total hours

Hexus (otherwise known as E-Knowledge) is a high-level easy programming language

Open comments for this post

4h 8m 49s logged

Devlog 7 - Lists

I fixed lists (hopefully) and added the add and remove commands.
God, I’m so happy to finally be done with this. There was so much debugging… 😭
But on the bright side, I think this is the last major variable type, right? (Meanwhile: dictionaries.)
Recently, I started thinking that I should probably finally create the website. That way, I won’t forget all of Hexus’ commands and features once the language grows bigger, so it’s getting closer and closer.
My plans are to spend more time working on loops and errors. Right now, we don’t really know what kinds of errors can occur in the parser and interpreter, because there are only three of them so far XD
I also want to work on list indexing, but we’ll see.
PS. “Kot” is “Cat”. I’m too lazy to change that right now. XD
Make programming easier again!!!

0
0
5
Open comments for this post

4h 20m 25s logged

Devlog 6 - List Templates

I just added list creation to Hexus.
I was thinking about how to make it easier for beginners to immediately understand how to create lists, so I came up with the idea of adding a comma at the end whenever assigning elements to a list.
I know people might hate me for this, but honestly, it’s something you can get used to XD.
For creating an empty list, you can still use the classic []. However, I also added the ability to perform mathematical operations directly while adding elements to a list by wrapping them in square brackets.
My future plans are to add commands for adding and removing elements from lists.
P.S. I still haven’t touched the website XD
Make programming easier again!!!

0
0
3
Open comments for this post

2h 38m 25s logged

Devlog 5 - If, Not If, e.t.c

Today I added if, elif, and else to Hexus, which allowed me to run the first calculator written in Hexus!!!
The most frustrating part was figuring out how to make elif blocks execute correctly, and then making sure that else would execute after them if none of the elif conditions were true. After two hours, I finally managed to get it working.
My future plans include changing send so that instead of only accepting plain strings, you will be able to write something like “Hello {name}” — similar to Python’s f-strings, but built directly into the language without needing to add an f before the string.
Next, I want to create an online playground along with a quick list of commands, so anyone can try out Hexus.
After that, I plan to introduce official version numbering. Not something like 1.0 yet, but more like beta_0.1 until I’m satisfied with the result.
Make programming easier again!!!

0
0
4
Open comments for this post

1h 49m 10s logged

Devlog 4 - The First Hello World in Hexus History

Today, a historic event happened — the first ever Hello World in Hexus!!!
Unfortunately, I don’t have the exact time when it happened, but that’s life I guess…
I also immediately added the read command, support for mathematical operations (+, -, *, /), variable assignment, and comparisons.
There is so much that I added that it’s honestly surprising I managed to fit it all into just 2 hours (although, to be fair, Hackatime only measures the time when I’m actually writing code…).
The next things on my list are adding comment skipping in the interpreter and finally working on if/elif/else.
After that, I might start focusing more on the website, which is planned to include a tutorial and an online editor for my language.
Although, to be fair, there is still a lot left to do with the language itself.
See you in next devlog!!!

0
0
2
Open comments for this post

2h 57m 33s logged

Devlog 3 - Nesting
It took me a while to figure out how nesting should work (trust me, it’s easy to imagine in your head, but implementing it in code is a whole different story).
Right now, I’ve added nesting support for the send and read commands.
Since the last devlog, I also added comments.
They work just like Python comments, although for now they’re only single-line comments.
I’m hoping I’ll have more time to work on this project now, except for the week I’ll be away on vacation, since I’ll be spending that time working on my game for the Jame Gam.
What’s next?
I’m currently thinking about implementing the interpreter for the send and read commands. If everything goes well, another devlog might even appear later today once the interpreter is ready.
See you in the next devlog!!!

0
0
4
Open comments for this post

2h 50m 14s logged

Devlog 2 - Basic Parser

Figuring out how all of this works took me some time (also because I was participating in a Jame Gam), especially since I honestly didn’t really understand Python classes until now.

In the last devlog, I only had the lexer/tokenizer, but now I’ve added a parser. At the moment, it supports a few commands like send, read, basic math operations, and saving values into variables.

Right now, my next goal is to work on nesting and if functions.

Also, somewhere in between, I added something to the website… honestly, I don’t even remember what XD.

See you in the next devlog!!!

0
0
3
Open comments for this post

2h 40m 59s logged

Meet Hexus (E-Knowledge)

As a beginner programmer (although I’m not even sure if I can still call myself a beginner when I’m writing my own programming language XD), I decided it was time to take on something more difficult.

My first programming language was Skript (yes, I consider it a real language), and moving from it to Python and C made me realize how much I missed that descriptive style of coding.

That’s why I decided to create my own language — a mix of Python, Skript, and a bit of C.

At the moment, I’ve written a few example lines of code to figure out the syntax of the language, which also led to creating the first lexer.

At the same time, in my free time, I’m also trying to build a website that will include a built-in IDE and a simple guide on how to use Hexus.

In the future, I’m planning to create a newer version of Hexus written in C, but I have no idea when that will happen.

See you in the next devlog!!!

1
0
10

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…