Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

holyc

< >

holyc is a programming language created in 2005 by Terry A. Davis.

#1990on PLDB 19Years Old 137Repos

HolyC is a variation of C developed by Terry A. Davis. HolyC is the official programming language for The Temple Operating System (TempleOS).


Example from the web:
U0 Main() { I16 i1; I32 j1; j1=i1=0x12345678; //Resulting i1 is 0x5678 but j1 is 0x12345678 I64 i2=0x8000000000000000; Print("%X\n",i2>>1); //Res is 0xC000000000000000 as expected U64 u3=0x8000000000000000; Print("%X\n",u3>>1); //Res is 0x4000000000000000 as expected I32 i4=0x80000000; //const is loaded into a 64-bit reg var. Print("%X\n",i4>>1); //Res is 0x40000000 I32 i5=-0x80000000; Print("%X\n",i5>>1); //Res is 0xFFFFFFFFC0000000 }

Language features

Feature Supported Example Token
Print() Debugging Print
Comments // A comment
Line Comments // A comment //
Semantic Indentation X

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v164.7.0