Airbender

  • 4 Replies
  • 2058 Views
*

Zero

  • Eve
  • ***********
  • 1287
Airbender
« on: August 29, 2018, 10:53:25 pm »
Airbender is my new project. You're friendly invited here:
https://github.com/ThinkbotsAreFree/Airbender

:)

Doc is coming, but main.js is already here!

*

WriterOfMinds

  • Trusty Member
  • ********
  • Replicant
  • *
  • 616
    • WriterOfMinds Blog
Re: Airbender
« Reply #1 on: September 05, 2018, 05:30:41 am »
What is it/does it do?

*

Zero

  • Eve
  • ***********
  • 1287
Re: Airbender
« Reply #2 on: September 07, 2018, 09:25:27 am »
:)

It's a stack based language in a distraction-free environment. While turing-complete, I wouldn't call it a "useful tool". It's rather a blank space I can sit in front of, not moving for a while, before starting writing a piece of program, all in one continuous stream...

There's a simple editor, and a terminal below it. The button in the middle executes what's in the editor.

The data stack is called Yin, and the program stack is called Yang. The vocabulary is called "ten-thousand".

Here is a taste, the factorial function definition.
Code
'$(n)(-1 1 n range '* 1 n - repeat) 'factorial bend

Initially, words eval to themselves: "factorial" evals to "factorial". The bend function modifies what a word evals to.

The $()() form is a template rewriter. It pops n from the stack and replace it with -1 1 n range '* 1 n - repeat.

The first part, -1 1 n range, puts numbers from n to 1 (with step -1) onto the stack.

The second part, '* 1 n - repeat, repeats (n-1) times the * operator in the program stack.

You would write this code in the editor, then click the Airbender button. Then you'd use it by typing in the terminal:
Code
5 factorial print

The implementation is pretty simple. Good thing is it gave me an idea for a new execution model, somewhere between chatbot and stack based programming language. I'll make another thread for this new idea.
« Last Edit: September 07, 2018, 09:45:37 am by Zero »

*

Zero

  • Eve
  • ***********
  • 1287
Re: Airbender
« Reply #3 on: September 20, 2018, 02:24:06 pm »
So, there has been work done here. Airbender is bigger! Doc is still minimal, there's only a vocabulary reference list. I'll explain various techniques and concepts more in depth soon.
Home: https://github.com/ThinkbotsAreFree/Airbender
Interpreter: https://thinkbotsarefree.github.io/Airbender/
Reference: https://github.com/ThinkbotsAreFree/Airbender/wiki/Builtin-vocabulary

*

Zero

  • Eve
  • ***********
  • 1287
Re: Airbender
« Reply #4 on: September 21, 2018, 11:01:16 am »
I added a bit more doc. If it's unclear please let me know!  :)

 


Will LLMs ever learn what is ... is?
by HS (Future of AI)
November 10, 2024, 06:28:10 pm
Who's the AI?
by frankinstien (Future of AI)
November 04, 2024, 05:45:05 am
Project Acuitas
by WriterOfMinds (General Project Discussion)
October 27, 2024, 09:17:10 pm
Ai improving AI
by infurl (AI Programming)
October 19, 2024, 03:43:29 am
Atronach's Eye
by WriterOfMinds (Home Made Robots)
October 13, 2024, 09:52:42 pm
Running local AI models
by spydaz (AI Programming)
October 07, 2024, 09:00:53 am
Hi IM BAA---AAACK!!
by MagnusWootton (Home Made Robots)
September 16, 2024, 09:49:10 pm
Attempting Hydraulics
by MagnusWootton (Home Made Robots)
August 19, 2024, 04:03:23 am
LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am

Users Online

398 Guests, 0 Users

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

Articles