Count counters

From Esolang
Jump to navigation Jump to search

Count counters is a programming language that uses counters that count after a certain number of firings to do stuff

Things you want to know

Instructions

"*" always counts

* >returns 1,1,1,1,1,1,1,1...

"(n)" counts every n times

(2) >returns 0,2,0,2,0,2...

"[n)" uses the counter on the [ side to count every times it does that n

(2)[4) >returns 0,2,0,2,0,2,0,6,0,2,0,2,0,2,0,6...

"(n]" does the same thing but on the ] side

(2](2) >returns 0,2,0,4,0,2,0,4...

"@" adds 1 at the start

@ >returns 1,0,0,0,0,0,0,0...

"?n>" acts like [ but it activates if the count is the number

(2)[3)?5>1) 0,2,3,2,0,6,0,2,3...

"<n?" acts like ?n> but like ]

(1<5?(3](2) 0,2,3,2,0,6,0,2,3...

"<n>" count up by n

<2> 0,2,4,6,8,10,12...

">:n:" repeat this in a single count n times

*>:4: 4,4,4,4,4,4,4,4...

":n:<" same thing but other way

:4:<* 4,4,4,4,4,4,4,4...