/holyc/

In this thread we discuss the programming language HolyC, the creator (Terry Davis) and the OS he programmed from scratch (TempleOS)

Other urls found in this thread:

templeos.sheikhs.space/Wb/Doc/HolyC.html
templeos.org/
arrested.com/terrence-a-davis-ZLvXRX
twitter.com/NSFWRedditGif

Anyone ever check out the HolyC documentation?

templeos.sheikhs.space/Wb/Doc/HolyC.html

void DemoC(char drv,char *fmt,char *name,int age)
{
printf("Hello World!\n");
printf("%s age %d\n",name,age);
printf(fmt,name,age);
putchar(drv);
putchar('*');
}

U0 DemoHolyC(U8 drv,U8 *fmt,U8 *name,I64 age)
{
"Hello World!\n";
"%s age %d\n",name,age;
"" fmt,name,age;
'' drv;
'*';
}

Can someone explain this HolyC code?

U0 Main()
{
I16 i1;
I32 j1;
j1=i1=0x12345678; //Resulting i1 is 0x5678 but j1 is 0x12345678

I64 i2=0x8000000000000000;
Print("%X\n",i2); //Res is 0xC000000000000000 as expected

U64 u3=0x8000000000000000;
Print("%X\n",u3); //Res is 0x4000000000000000 as expected

I32 i4=0x80000000; //const is loaded into a 64-bit reg var.
Print("%X\n",i4); //Res is 0x40000000

I32 i5=-0x80000000;
Print("%X\n",i5); //Res is 0xFFFFFFFFC0000000
}

Read comments

I'm a newb with zero programming experience. Explain like I'm 4?

Learn some programming before you try to screw with shifting.

For those of you who are experienced programmers, how do you rate Terry A. Davis' code? I know the magnitude of what he's achieved, but going by the code itself is he really a genius?

I know MS-DOS a little. I can do C: and dir/p. Am I ready to learn HolyC?

website down?

Site is up for me.

templeos.org/

KNOW YOUR FUCKING TYPES YOU FUCKING NOOBS

U0 void, but ZERO size!
I8 char
U8 unsigned char
I16 short
U16 unsigned short
I32 int
U32 unsigned int
I64 long (64-bit)
U64 unsigned long (64-bit)
F64 double

Yes, press in TempleOS for the Docs

Terry makes the best types. I used them in my OS.

Does anyone have an answer to this?

Seconded.

only a cia nigger wouldn't know the answer

Good point.

Not necessarily. Would you care to answer the question and at least try to explain your answer?

your cia nigger tricks aren't going to work

Isn't what you're really saying is that you don't know the answer?

Sup.

see

>t. Someone who doesn't know the answer either

U0 Main()
{
I16 i1;
I32 j1;
j1=i1=0x12345678; //Resulting i1 is 0x5678 but j1 is 0x12345678

this is because i1 is 16 bits, while j1 is 32
0x12345678 is 32 bit hex number
0x[1234][5678] here they are split into 16 bit blocks. so you see i1 can only handle the second block (I assume writing starts with the least significant bit and overflows get ignored)
this also demonstrates that he implemented a retarded definition of = assignment.

I64 i2=0x8000000000000000;
Print("%X\n",i2); //Res is 0xC000000000000000 as expected

[8000][0000][0000][0000]
[C000][0000][0000][0000]

you need to split up the most significant bit to see what's happening here

8 = 1000
C = 1100

what happens is that you really get 1000 -> 0100, but because it's a signed integer, and the negative bit is set, it gets ored with 0x8000000000000000 anyways, because "a negative number divided by a positive number is a negative number"

U64 u3=0x8000000000000000;
Print("%X\n",u3); //Res is 0x4000000000000000 as expected

8 = 1000
4 = 0100

this time cause unsigned, don't carry the negative sign

I32 i4=0x80000000; //const is loaded into a 64-bit reg var.
Print("%X\n",i4); //Res is 0x40000000

interesting feature. what's happening is that the operation actually sees
[0000][0000][8000][0000], so it loses the sign? is terry retarded? well bit shift then occurs normally

I32 i5=-0x80000000;
Print("%X\n",i5); //Res is 0xFFFFFFFFC0000000

yeah he's fucking retarded.
}

post cia nigger id with timestamp and i'll tell you all you want to know about holyc

Are you Deepthroat?

No. He's a deep state CIA Nigger.

Nice analysis! The language is foreign to me, so it's nice to have some explanation from people who can interpret it better than i can.

The Deep State doesn't exist. "The Deep State" is what Trump and Fox News created in an effort to explain why everyone in the government (and most of the world) thinks Trump is a fucking idiot.

i didn't know a shit about the language. it's not about the language

hmm

why don't people realize that it's never about the language?

unless it's fucking haskell or someshit

Oh right...I guess I meant computer science (not the language). Ya gotta admit, that shit gets complicated!

The deep state is international and independent of every government it infiltrates and it predates Trump by at least 450 years, you filthy liberal.

Lol, m' Illuminati. Fuck outta here.

isn't it enough you got terry arrested, you filthy cia nigger?

They have nothing to do with the "Illuminati."

this is the worst Sup Forums meme i have seen in years

bring back C+=

I'm not following. I'm relatively new here. Can you explain?

lets make a counter intelligence agency making use of solely templeos to combat the cia via divine power for terry

What if TempleOS staved off Russian interference? Terry would be awarded a Medal of Honor.

thats why he was hired for ticket master

To fend off the Russians? So the direct cause of the USSR's collapse is TAD?

>dianna losesing place in my heart, quite honestly not very interesting when I am king and have shit to do
Will he finally stop emailing her?

>>I got court 10/31 in vegas I learned, lewdness


>>shit

kek

Also it's a 2500$ fine, he said, unless the judge says it's because of his mental disability or something.

who /devilish/ here?

Did he say this on stream? I saw earlier pople claiming he was arrested on the 20th of last month for lewdness. Is it true?

>Is it true?
yes
arrested.com/terrence-a-davis-ZLvXRX
>Did he say this on stream?
he posted it on his blog while live streaming

Wanking in public again?

probably one of the first times since it was back on Sept. 20th

Champion.

terry needs some in-ear headphones, he cant hear shit with all that noise

where is the F32

There is no 32-bit float.

Check out the documentation:

templeos.sheikhs.space/Wb/Doc/HolyC.html