Skip to content

Releases: Jamesbarford/holyc-lang

Beta v0.0.2

25 Apr 18:35
7cbde9c
Compare
Choose a tag to compare

Fixes

  • Fix for file paths and extensions

Beta v0.0.1

05 Mar 14:20
Compare
Choose a tag to compare
Beta v0.0.1 Pre-release
Pre-release

Basic implementation of the language

This is a fairly comprehensive implementation of holyc as it stands. The assembly is not optimised and the resulting code is thus not terribly fast to execute. I have not benchmarked it as the focus has not yet been on performance

Know bugs

  • %f formatter does not work for StrPrint.
  • Cannot declare global variables with commas.
  • inline does nothing.
  • Alignment of classes are dodgy as is the intrinsic class.
  • #defines are not just pasting text but evaluated at compile time.
  • Line number in error messages is sometimes off and does not report the file.
  • Varadic arguments: (...) are all passed on the stack.
  • Mixing integer sizes like I32 and I64 can lead to a segfault.
  • Doing &ptr->prop->value in circumstances I don't fully understand yet can lead to a segfault.

Yet to be implemented

  • #exe, #assert
  • calling printf like "", "hello", " world" should concatinate the string and print to stdout and the same with characters.
  • declaring an array of classes