brain icon indicating copy to clipboard operation
brain copied to clipboard

Implementation of the symbol `@`

Open luizperes opened this issue 9 years ago • 6 comments

  • Implement functions call on Brain.
  • Allow it to be compatible with LLVM IR.

luizperes avatar Jul 30 '16 01:07 luizperes

I will remove this from the 1.1, ok @rafaelcn, @ryukinix ?

luizperes avatar Nov 30 '16 23:11 luizperes

ok. go on

ryukinix avatar Dec 01 '16 09:12 ryukinix

D'accord :-)

rafaelcn avatar Dec 01 '16 19:12 rafaelcn

Maybe something like the image below brain_functions

luizperes avatar Nov 29 '17 06:11 luizperes

Shit just got expressive

rafaelcn avatar Nov 29 '17 16:11 rafaelcn

To keep the pattern in Brain, we decided that instead of allowing functions, we will implement the operator @ (or the &) as:

Imagine the tape with: [2][4][100][5000][0]....

The code >>>@ would then copy the number 100 to cell number 5000

luizperes avatar Jan 25 '18 18:01 luizperes