Skip to content

kala-telo/fishlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The unnamed programming language (working name fishlang)

As you could've guessed, considering the language is not even named yet, it's still WIP. You can see examples in examples/ directory, though at the current moment they are closer to just tests, the only "real" example being recursive fibonacci program in examples/recursive_fib.fsh. The language goal is to provide playground in compiler development to me.

That being said, here is a vague roadmap:

  • Tests
  • Enough features to write complex programs
  • More optimizations
  • Standard library to not dependent on libc
  • FP features
  • Replace GAS with my own assembler
  • Make my own linker

Backends

  • PowerPC
  • MIPS
  • x86_32
  • PDP-8 (currently broken)
  • ARM
  • RISC-V
  • ..?

Getting started

$ cc build.c -o build && ./build run

You'll get the examples built in .build/examples/. It will try to build and test them for all platforms. You'll need compilers and VMs for that.

Notes

Typechecking

It was quite hard, you can even see gap on my github activity when I was doing it (August of 2025, not to say it was the only reason why I didn't made any commits, but definetly one of). It took me about 3 attemts to get it to point I'm happy with.

References

On compiler dev in general

PowerPC

X86_32

MIPS

PDP-8

About

Fishy programming language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages