Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of the symbol @ #17

Open
luizperes opened this issue Jul 30, 2016 · 6 comments
Open

Implementation of the symbol @ #17

luizperes opened this issue Jul 30, 2016 · 6 comments

Comments

@luizperes
Copy link
Member

  • Implement functions call on Brain.
  • Allow it to be compatible with LLVM IR.
@luizperes luizperes self-assigned this Jul 30, 2016
@rafaelcn rafaelcn modified the milestone: 1.0 Aug 4, 2016
@rafaelcn rafaelcn added this to the 1.1 milestone Sep 1, 2016
@luizperes
Copy link
Member Author

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

@ryukinix
Copy link
Member

ryukinix commented Dec 1, 2016

ok. go on

@luizperes luizperes removed this from the 1.1 milestone Dec 1, 2016
@rafaelcn
Copy link
Collaborator

rafaelcn commented Dec 1, 2016

D'accord :-)

@luizperes
Copy link
Member Author

Maybe something like the image below
brain_functions

@rafaelcn
Copy link
Collaborator

Shit just got expressive

@luizperes
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants