singnet / ai-dsl

Artificial Intelligence Domain Specific Language (AI-DSL) to enable autonomous interoperability between AI services.
MIT License
68 stars 18 forks source link

Wow ! Idriss code ? compiling ai-dsl/experimental/ai-algorithms/NeuralNets #96

Open gl-yziquel opened 11 months ago

gl-yziquel commented 11 months ago

Hi.

Amazed to see some real life Idris code. I guess it's the first time I stumble on that: real life Idris code. Stunned.

I tried looking at what the repo was doing a bit. And there obviously is little indication as to how to build it. (which kind of seems to be a constant in opencog derived projects...)

Got a kind of syntax error with the first thing I tried to build.

mini-me@virtucon ~/h/c/a/e/a/NeuralNets (master)> idris2 Main.idr -o Main
Uncaught error: Error: Expected a capitalised identifier, got: lst.

Main:3:24--3:27
 1 | module Main
 2 | import Lib
 3 | import Prelude.List as lst

Could it be possible to have some more detailed instructions as to how to have some fun with this repo ?

ngeiswei commented 9 months ago

Thanks for your interest, @gl-yziquel. I'm not the one who wrote that code. The rest of the AI-DSL repo should well documented (when it's my work anyway). Let me know if you need help elsewhere.

ngeiswei commented 9 months ago

Note that we're moving away from Idris to use MeTTa instead. Idris is awesome but MeTTa program synthesis capabilities are better.