Releases: dazaizer0/ann_python
Releases · dazaizer0/ann_python
ANN Lang IDE
As for the language itself, nothing new yet, but advanced loops and conditional statements are on the way.
rep's in ANN-Lang
The "return x;" function has been replaced to "rep x;"
Example:
mod main [ ->
cre int a 10; ->
a /= 5; ->
out a; ->
]start; ->
rep 5;
Result:
2.0
2.0
2.0
2.0
2.0
New prototype loop function:
- Rule 1. if we change x<-(rep number) at the "rep" function at the end of the code to, for example, 2<-(rep number), all functions such as "out" will be repeated 2<-(rep number) times;
- Rule 2. If we want functions such as adding two numbers to be repeated. You should add the "rep()" function right after the action, which will perform the action x<-(rep number) times.
Examples:
mod main [ ->
cre int a 1; ->
a += 2 rep(); ->
out a; ->
]start; ->
rep 3;
Result:
7
7
7
Multiplication doesn't work correctly yet
ANN-Apparent Lang ver: 0.1
Documentation:
Main module:
mod main [ ->
some script
]start; ->
Variables:
cre int name [value] 16; ->
cre str name value; ->
cre list name value1.value2; ->
Math:
a += b; ->
a -= b; ->
a *= b; ->
a /= b; ->
Out:
out [variable_name]; -> // variable
out Some Text; -> // SomeText
out 74; -> out 49; -> // J1
out 74; -> out \n; -> out 49; -> // J \n 1
Show program run time:
show dur; -> // [program run time] 0.084365754
Repeat one program:
return 1; -> // repeat once
Example:
mod main [ ->
cre int a 54; ->
cre int b 456475; ->
a *= b; ->
out a; ->
out Hello World; ->
out /n; ->
out 74; -> out 49; ->
]start; ->
return 1;
We can run it using the ANN-pyrs Interpreter
by dazai 2023
ANN Beta + ANN-Lang preview
Beta version 0.1 includes:
- A half-functioning Python library.
- Possibility to easily read and write logs of individual artificial neurons.
- The beginnings of the interpreted language ANN-Lang, which currently contains 30% of the basics of syntax (in the future it will be possible to easily create artificial neurons in it)
- Test version of the web version of the sample use of the ANN library.
- Beginnings of implementing functions written in rust into Python