Shiden banner

Shiden

12 devlogs
10h 48m 21s

A programming language, planned to be faster than Rust and better than it

This project uses AI

GH Copliot for Inline code completions and debugging. Documentation by GH Copliot and myself

Repository

Loading README...

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 2 days 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

Sevastipol
Sevastipol 5 days ago

nice

Saif
Saif 5 days 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