funny 1arg asm

  • 0 Replies
  • 936 Views
*

Zero

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1163
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 ^ #

:)
Google is a plague, a disease. It is the metastatic cancer of the human species.

 


Exp-Log (a deductive system)
by ivan.moony (General Project Discussion)
Today at 11:30:31 am
Self similar structures
by MikeB (General Chat)
Today at 06:07:19 am
Can you build robots out of poo?
by infurl (General Hardware Talk)
Today at 05:43:08 am
So what if...
by chattable (General AI Discussion)
December 07, 2021, 10:16:30 pm
What's everyone up to ?
by ivan.moony (General Chat)
December 07, 2021, 04:15:34 am
I want one!
by frankinstien (General Chat)
December 03, 2021, 06:57:48 pm
Pattern based NLP
by MikeB (General Project Discussion)
December 03, 2021, 11:19:32 am
New cryopreservation method is much better
by LOCKSUIT (General Chat)
December 02, 2021, 11:42:58 am
AI Assisted suicide
by frankinstien (AI News )
December 08, 2021, 06:06:52 pm
It has been 5 years since Hugh Loebner died.
by MagnusWootton (AI News )
December 06, 2021, 11:36:29 pm
Ameca The Future Face Of Robotics
by 8pla.net (Robotics News)
December 06, 2021, 03:06:28 pm
Real Self Replicating robots.
by MagnusWootton (AI News )
December 02, 2021, 08:07:37 pm
I wonder how well GPT-3 will on run this.
by MagnusWootton (AI News )
December 01, 2021, 06:41:34 pm
ai websight that explains computer code
by frankinstien (AI News )
November 09, 2021, 01:05:20 am

Users Online

43 Guests, 1 User
Users active in past 15 minutes:
ivan.moony
[Trusty Member]

Most Online Today: 60. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles