Skip to content

Releases: dazaizer0/ann_python

ANN Lang IDE

28 Sep 21:17
Compare
Choose a tag to compare
ANN Lang IDE Pre-release
Pre-release

image

As for the language itself, nothing new yet, but advanced loops and conditional statements are on the way.

https://github.com/dazaizer0/Neogus-ANN/tree/main/ANN-ArtificialNeuralNetworks/interpreter/dist/IDE

rep's in ANN-Lang

27 Sep 19:57
Compare
Choose a tag to compare

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:

  1. 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;
  2. 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

24 Sep 10:01
Compare
Choose a tag to compare

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

23 Sep 14:12
5501fe9
Compare
Choose a tag to compare

Beta version 0.1 includes:

  1. A half-functioning Python library.
  2. Possibility to easily read and write logs of individual artificial neurons.
  3. 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)
  4. Test version of the web version of the sample use of the ANN library.
  5. Beginnings of implementing functions written in rust into Python