Shiden banner

Shiden

54 devlogs
82h 9m 42s

A programming language, planned to be faster than Rust and better than it.
It features a custom backend and its own vscode extension.
Also there is Docs
(Rust <3) (Shiden <3)

This project uses AI

GH Copliot for Inline code completions, debugging and docs.

Demo Repository

Loading README...

SeradedStripes

Gitbook messed up my docs

Fixes it tho

Gitbook fire tho and gave me community plan!

Attachment
0
SeradedStripes

Updates

  • After hating on windows again
  • I decided im rewroking the compiler

Compiler - Still gotta do

Shiden Code -> AST -> UO -> Platform binary

  • 32 byte instructions for UO (UO is universal object, .uo format)
Attachment
0
SeradedStripes

Updates

  • Working more on asm code
  • Added to crates.io (I forgot to and it made my ship got rejected
Attachment
0
SeradedStripes

Updates

  • Almost complete asm and rust compiler parity
  • Refactored repo a bunch by moving stuff around
  • Added shipwrights notice for rust version from when I shipped that (still pending 😭)
  • Also my changelog is too long to include in here due to character limit or word limit idk anymore

The attachments are the output of the examples/docs demo for linux

Next

  • Windows compiling in asm compiler
  • Updated vscode extension
  • Some libraries
  • Reimplementing the cli times
Attachment
Attachment
Attachment
0
SeradedStripes

Updates

  • Working on networking library
  • Also did 67hr devlog lol
Attachment
Attachment
0
SeradedStripes

Lowkey doing this for 60hr mark lol

Attachment
1

Comments

SeradedStripes
SeradedStripes 11 days ago

bro on hackatime it shows 60hrs

SeradedStripes

Updates

  • After 36 different commits
  • I have fixed windows compiling and all tests pass
  • It is a miracle tbh

Changelog

  • Was too long to fit all commits here.
Attachment
0
SeradedStripes

updates

  • Removed rust to byte code compiler
  • removed some libraries I want to remake
  • Working on fixing windows features to be on par with linux
  • also I cleared all clippy warnings
Attachment
0
SeradedStripes

Updates

  • I wrote a rust to bytecode compiler (Im planning on removing it but just referencing it here)
  • Also the cli now outputs mins sec ms ns ps
  • Probably about it
  • Attachment is my code not working
Attachment
0
SeradedStripes

Updates

  • This devlog shoulda been done yesterday but im going to now because I forgot.
  • We have an absured amount of types now
  • So much so that I can show pictures of the whole csv file that shows it all. So that attachement is the bottom of it
Attachment
0
SeradedStripes

Updates

  • Refactor function signatures to remove type annotations for parameters and return types
  • Updates Docs to match this and did some fixes in it

Bugs

  • Aware that floats are broken
Attachment
0
SeradedStripes

Updates Windows Compiling works except for one single test. Im going to ignore that test exists

Changelog

Attachment
Attachment
0
SeradedStripes

Updates

  • Yesterday spent work on slack bot (decided not to release it), so no, this is not time inflation.
  • Also this devlog is includes some time spent fixing more clippy warnings I missed
Attachment
0
SeradedStripes

Updates

  • Fixed all clippy warnings
Attachment
0
SeradedStripes

Updates

  • Bunch of fixes
  • Added Todo section to readme
  • Tests should work
  • Fixed the whole language not having proper support for arrays and other stuff

What next?

  • a Static Translation Layer (~a lot of hours)
  • more libraries (~less hours but still alot)
  • Clear up warnings in rust code (~way less hours)
Attachment
0
SeradedStripes

Updates

  • I messed up linux compiler so gotta reroll git
Attachment
0
SeradedStripes

Updates

  • Worked on Windows Compiling
  • Attachment Creds: rupnil.codes
Attachment
0
SeradedStripes

Updates

  • Pushed all my uncommited code to git
  • Net and fs libs still need more work
  • Docs need more work but website is better now
    https://shiden.arson.dev/
  • Shiden is very fast
Attachment
0
SeradedStripes

I didnt feel like doing work today but I did this just to update scrapbook

Updates

  • Began work on personal clap reimplementation
Attachment
Attachment
0
SeradedStripes

Updates

  • Some idiot (me) didnt do half the networking library
  • doing that
Attachment
2

Comments

rupnil.codes
rupnil.codes about 1 month ago

LMAO-

stunt
stunt about 1 month ago

That must be fun. Good luck

SeradedStripes

Updates

  • Rust tests are not updates
  • Pushed libraries to git
  • Updated their readmes
  • Updated gh workflows

Next

  • Either I will do some docs
    Or
  • I will add whatever the first person to dm me wants me to
  • Up to if I get dmed with a new feature or not
Attachment
0
SeradedStripes

Updates

  • Netoworking/http implemenation is done
  • Filesystem fixes are done
  • Gonna update tests next
  • Expect git commit soon
Attachment
0
SeradedStripes

30hr mark (missed it slightly)

Attachment
0
SeradedStripes

Updates

  • Networking library done
  • Found bugs in filesystem library so fixing now
Attachment
0
SeradedStripes

Updates

  • File system library works
  • Networking library is being made
  • Tests are going to be updated soon
  • After networking library im going to add windows compiling support
Attachment
0
SeradedStripes

Updates

  • Fixes to some thngs
  • Better error handling

Bugs

  • Tests arent updated
  • Seg fault at the end of the program but this does not effect anything, just displays it had a segfault so its not top priority

Next

  • Probably Networking
Attachment
0
SeradedStripes

Updates

  • Added imports (forgot to rewrite tests)
  • Update examples/ with an example of the import system (the bf interpreter)
Attachment
0
SeradedStripes

Updates

  • Banner and logo designs
Attachment
Attachment
0
SeradedStripes

Updates

  • rewrite of shiden in shiden is a work in progress
Attachment
0
SeradedStripes

Updates

  • Linux compiling works with no issues
  • working on cool browser extension
Attachment
0
SeradedStripes

Updates

  • Segmentation Fault in running compiled program
  • All tests pass atleast
  • Anyone wanna make me a cool logo 😭 I dont want to do it
Attachment
0
SeradedStripes

Updates

  • Trying to fix compiler (I was wrong about it working)
Attachment
0
SeradedStripes

Updates

  • Linux Compiler works
  • We still need windows and Mac compilers
  • We also need to fix warnings in code
  • ofc feel free to contribute

Next Up

  • Windows and or Mac Compiler
  • Or whatever I think about in the moment tbh
  • Also need new logo so maybe that
Attachment
0
SeradedStripes

Updates

  • 10hr mark
  • still working on compiler
  • aparently porting an interpreter to a compiler is difficult, who knew…
  • also I need a website for this soon so any contributions towards one is appreciated
Attachment
0
SeradedStripes

Updates

  • Working on compiler
  • It can compile prinln(“your text here”)
  • thats something right? right?
Attachment
0
SeradedStripes

Updates

  • Added Filesystem (fs) library
Attachment
0
SeradedStripes

Updates

  • Semi-Finished vscode extension updates
  • Fixed vscode extension compile issues
  • new release (0.0.4)
Attachment
0
SeradedStripes

Updates

  • Did some work to get extension to match current features (theres a long way to go)
  • Theres more problems in my code now lol
Attachment
1

Comments

chefpenguino
chefpenguino about 1 month ago

what on earth 😭

SeradedStripes

Updates

  • Syntax & core: Lexer, recursive-descent parser, AST, and a tree-walk interpreter.
  • Types & values: i64, f64, char, string, array, unit, bool.
  • Expressions & operators:
    • Arithmetic: +, -, *, /.
    • Comparisons: ==, !=, <, <=, >, >=.
    • Logical: &&, ||, unary !.
    • Unary negation: -.
    • Indexing: a[index].
    • Function calls and arguments.
  • Statements & control flow:
    • let (with optional mut), assignments, return.
    • if / else, while, for <var> in <iterable>.
    • break, continue.
  • Collections & builtins:
    • Arrays and array operations: push, pop, len, range.
    • Builtins: println, print, file read_file/write_file (where available).
  • Additional details:
    • Typed terminators like /i64 or a plain / are used to end many statements and declarations.

Thats basically the whole language so far lol, but I have way to much warnings in my code, gonna focus on that and then im going to implement libraries like filesystem, windows, inputs, audios, ect.

Oh also I didnt not update the vscode extension yet
Also debugging took too long 💀
If hackatime extension recorded my terminal it would be way more hours as this is just a summary of everything ive done so far

The attachment is what vscode sees as problems, it probably didnt catch everything but its a crazy amount

Attachment
0
SeradedStripes

Updates

  • added for loops
  • added recursion
  • changing package files from jsonc to toml
  • we have vscode extension (here)
  • Working on libraries like filesystem, audio, cli (built in)
Attachment
0
SeradedStripes

Updates

  • Working on VSCode extension rn
  • decided to license project under MIT
  • gonna work on language more after extension
Attachment
0
SeradedStripes

Updates

  • Basic CLI made and baisc interpreter
  • Hello World is now possible
Attachment
2

Comments

Sevasti
Sevasti about 1 month ago

nice

Saif
Saif about 1 month ago

this is dope! I tried this and tried adding syntax highlighting. something broke so now that project is collecting dust lol

SeradedStripes

Updates

  • Made a basic design and formatting plan

format:
fn main/
fn greet()/
fn/

fn new greet/
let name = “SeradedStripes”/
println(“Hello {}”, name)/
fn/

thats just an eg

Attachment
0