OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Apr 18, 2024 9:07 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Yet another esoteric programming language.
PostPosted: Tue Dec 09, 2014 10:10 am 
Offline
Member
Member
User avatar

Joined: Thu Mar 27, 2014 3:57 am
Posts: 568
Location: Moscow, Russia
Here it is. It is not my project, I just found it recently on the internet. The name seems to be derived from russian "петух", which means "chicken".

_________________
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
- Alan Kay


Top
 Profile  
 
 Post subject: Re: Yet another esoteric programming language.
PostPosted: Tue Dec 09, 2014 11:24 am 
Offline
Member
Member
User avatar

Joined: Fri Oct 27, 2006 9:42 am
Posts: 1925
Location: Athens, GA, USA
It's a pointer-based UTM. Interesting variation on the idea, though.

_________________
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.


Top
 Profile  
 
 Post subject: Re: Yet another esoteric programming language.
PostPosted: Wed Dec 10, 2014 1:06 am 
Offline
Member
Member

Joined: Tue Mar 04, 2014 5:27 am
Posts: 1108
Roman wrote:
Here it is. It is not my project, I just found it recently on the internet. The name seems to be derived from russian "петух", which means "chicken".


Петух is male, so in English it should be either rooster or coq [changed to French because the stupid forum software turned it into a bunch of stars, "thinking" the word is used to refer to male genitalia].


Top
 Profile  
 
 Post subject: Re: Yet another esoteric programming language.
PostPosted: Wed Dec 10, 2014 1:10 am 
Offline
Member
Member

Joined: Wed Oct 30, 2013 1:57 pm
Posts: 306
Location: Germany
Reminds me of Brainfuck ...

But good idea, it made me (and ThePC007) laugh :D

_________________
managarm


Top
 Profile  
 
 Post subject: Re: Yet another esoteric programming language.
PostPosted: Wed Dec 10, 2014 12:10 pm 
Offline
Member
Member
User avatar

Joined: Mon Jun 16, 2014 5:33 pm
Posts: 213
Location: Costa Rica
no92 wrote:
Reminds me of Brainfuck ...


Ah, Brainfuck. There's nothing more pointer based, not even assembly :wink: .

If some supposed machine started at some predefined address, and used some memory addresses for registers, you can use program it with Brainfuck! You would output some byte by writing it to a memory address, then changing some bit in another memory address. This way, and taking in account that Brainfuck is Turing-complete, it's theorically possible to create a complete OS in Brainfuck :mrgreen:

P.D: I have a Brainfuck example in my signature.

_________________
Happy New Code!
Hello World in Brainfuck :D:
Code:
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.


Top
 Profile  
 
 Post subject: Re: Yet another esoteric programming language.
PostPosted: Wed Dec 10, 2014 12:34 pm 
Offline
Member
Member
User avatar

Joined: Mon Jun 05, 2006 11:00 pm
Posts: 2293
Location: USA (and Australia)
KemyLand wrote:
This way, and taking in account that Brainfuck is Turing-complete, it's theorically possible to create a complete OS in Brainfuck :mrgreen:.


With a little bit of IO, like change ,. to port in/port out rather than stdin/stdout.

_________________
My OS is Perception.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 51 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group