funny 1arg asm

  • 0 Replies
  • 591 Views
*

Zero

  • Trusty Member
  • *********
  • Terminator
  • *
  • 855
  • Ready?
    • Thinkbots are free
funny 1arg asm
« on: June 26, 2018, 09:56:51 PM »
hi,

based on this old thread, here's a super simple esolang. it's an asm, command-colon-argument. commands take only 1 argument. "this" is the result of the last command. "about" puts something in "this".


[fib]
about: argument
if less than: 3
return: 1
about: argument
decrement: 1
fib: this
store as: fib1
about: argument
decrement: 2
fib: this
increment: fib1
return: this


now we use 1 character names for common commands


[fib]
? @
< 3
^ 1
? @
- 1
fib #
$ fib1
? @
- 2
fib #
+ fib1
^ #


and we loose the brackets, newlines, so it looks like hell


fib: ? @ < 3 ^ 1 ? @ - 1 fib # $ fib1 ? @ - 2 fib # + fib1 ^ #

:)
Thinkbots are free, as in 'free will'

 


Guest Stream on the VirtualAssistant channel
by 8pla.net (AI in Film and Literature.)
Today at 03:08:43 PM
How Lucid are your thoughts?
by infurl (General AI Discussion)
Today at 09:27:11 AM
Now this is the dream!
by Art (General Robotics Talk)
February 15, 2020, 02:32:41 PM
XKCD Comic : Further Research is Needed
by Tyler (XKCD Comic)
February 15, 2020, 12:00:43 PM
The Heretic
by Zero (Graphics and Video Software)
February 14, 2020, 07:45:41 PM
Friday Funny
by LOCKSUIT (General Chat)
February 14, 2020, 07:43:13 PM
Chatbots DotOrg SOLD?
by squarebear (Virtual Reality)
February 14, 2020, 10:40:42 AM
XKCD Comic : Leap Smearing
by Art (XKCD Comic)
February 13, 2020, 12:03:55 PM

Users Online

11 Guests, 2 Users
Users active in past 15 minutes:
squarebear, ivan.moony
[Trusty Member]

Most Online Today: 25. Most Online Ever: 340 (March 26, 2019, 09:47:57 PM)

Articles