Skip to content

Releases: Jamesbarford/holyc-lang

Vectors & Hashtable fix

10 Nov 16:07
92ab58f
Compare
Choose a tag to compare
  • Adds Vectors for ints, floats and pointers (arbitrary objects)
  • Fixes hashtables

Fixes

03 Nov 20:30
a37294c
Compare
Choose a tag to compare
  • Removed mandatory dependency of sqlite3
  • Fixed ordering of libs

Fixes

01 Jun 20:03
d2a09c7
Compare
Choose a tag to compare
  • Fixed memory allocation issue with ReAlloc()
  • Fixed issue with StrNew()
  • Fixed printing tokens (quite rough and ready)

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