You are browsing as a guest. Sign up (or log in) to start making projects!

  • 5 Devlogs
  • 9 Total hours

A programming language that uses an AI-assisted translation layer to convert natural language-like instructions into a structured intermediate representation, which is then compiled into executable code with rust interpreter. © 2026 Draghici Mihai. ALL RIGHTS RESERVED

Open comments for this post

2h 1m 11s logged

So I created a lexer, it looks good, right? And now i am moving on to the next part: the parser (where I will have to verify the syntax and combine the tokens generated by the lexer in structures, named statements, that can be then translated directly into code).

So I created a lexer, it looks good, right? And now i am moving on to the next part: the parser (where I will have to verify the syntax and combine the tokens generated by the lexer in structures, named statements, that can be then translated directly into code).

Replying to @mihaidraghici023

0
56
Open comments for this post

36m 10s logged

In this short devlog I want to announce you the last changes in the AiRY / AiRY Core standard lib (saying this cus I am planning to add more libs after I finish this one) :

  • “perform” became unmutable; what does that mean: when you write “perform x+1” the value of x won’t be increased by one, insted you shoul write “x = perform x+1”

Anyway token.rs and ast.rs are ready, I am now moving on to the lexer.rs (the component that translates the input code in structures and tokens from ast.rs and token.rs)
See you soon!!!

In this short devlog I want to announce you the last changes in the AiRY / AiRY Core standard lib (saying this cus I am planning to add more libs after I finish this one) :

  • “perform” became unmutable; what does that mean: when you write “perform x+1” the value of x won’t be increased by one, insted you shoul write “x = perform x+1”

Anyway token.rs and ast.rs are ready, I am now moving on to the lexer.rs (the component that translates the input code in structures and tokens from ast.rs and token.rs)
See you soon!!!

Replying to @mihaidraghici023

0
52
Open comments for this post

2h 16m 6s logged

So…..First, I made some changes in the syntax of the language:

  • from now on every operation (-, +, /, *, %, &, |, ^, ~) must be preceded by “perform”, like “perform x+1” or “perform x&2”

I also started to do the interpreter in rust:
-token.rs (defines every function as a word)
-ast.rs (makes structures with tokens)

Problems in interpreter till now:
-you can write just “perform x+1” and not “perform 1+1” , cus if you write “perform 1+1” it has to return somewhere and perform x+1 just increments x with 1, but this eliminates the posibility to declare x with an operation (I mean the value), like “set x perform 1+1”
What do you think should I keep “perform”????? Anyway see you in next devlog!!

So…..First, I made some changes in the syntax of the language:

  • from now on every operation (-, +, /, *, %, &, |, ^, ~) must be preceded by “perform”, like “perform x+1” or “perform x&2”

I also started to do the interpreter in rust:
-token.rs (defines every function as a word)
-ast.rs (makes structures with tokens)

Problems in interpreter till now:
-you can write just “perform x+1” and not “perform 1+1” , cus if you write “perform 1+1” it has to return somewhere and perform x+1 just increments x with 1, but this eliminates the posibility to declare x with an operation (I mean the value), like “set x perform 1+1”
What do you think should I keep “perform”????? Anyway see you in next devlog!!

Replying to @mihaidraghici023

0
52
Open comments for this post

1h 28m 35s logged

Hi guys!!!! Sry for lack of devlog, I really forgot like forgot forgot. Anyway I want to announce you that my AI interpreter is ready, like it transform pretty well from Natural Language to actual code (that I decided to name AiRY Core). It also knows multiple languages (in the images below there is chinese I think) . I would like to present you what my programming language has till now: normal operations, bitwise operations, if, else, elseif, loop (like for), infloop (like while), set (declares dynamical variable). I think it is enough for now and I am going to step in and make a rust interpreter, btw I do not know rust at all. I am letting you the images below, hope you enjoy my project :)))

Hi guys!!!! Sry for lack of devlog, I really forgot like forgot forgot. Anyway I want to announce you that my AI interpreter is ready, like it transform pretty well from Natural Language to actual code (that I decided to name AiRY Core). It also knows multiple languages (in the images below there is chinese I think) . I would like to present you what my programming language has till now: normal operations, bitwise operations, if, else, elseif, loop (like for), infloop (like while), set (declares dynamical variable). I think it is enough for now and I am going to step in and make a rust interpreter, btw I do not know rust at all. I am letting you the images below, hope you enjoy my project :)))

Replying to @mihaidraghici023

0
116
Open comments for this post

2h 10m 1s logged

Hey! My name is Mihai and I just started building AiRY, a programming language where you write code in plain natural language instead of strict syntax.
The Idea
Why do you need to memorize complicated syntax just to tell a computer what to do? AiRY lets you write normal instructions in any language you want, and the system translates them into executable code called AiRY Core.
The architecture is simple: an AI layer that understands what you want to do, and a deterministic execution layer that runs the code consistently every time.
What I’ve Done So Far
I defined the initial specification of AiRY Core — basically the rules that make the language work:
set — declares a variable
show — displays a value
read — reads input
if / else / elseif — conditionals
loop — equivalent of for
infloop — equivalent of while
Basic arithmetic and logical operations
A rule system for handling errors and unsupported operations
I also integrated a language model (Gemma 4-31B via Hugging Face) that translates natural language into AiRY Core using a custom prompt system. It works surprisingly well, even with variables written in Chinese.

Hey! My name is Mihai and I just started building AiRY, a programming language where you write code in plain natural language instead of strict syntax.
The Idea
Why do you need to memorize complicated syntax just to tell a computer what to do? AiRY lets you write normal instructions in any language you want, and the system translates them into executable code called AiRY Core.
The architecture is simple: an AI layer that understands what you want to do, and a deterministic execution layer that runs the code consistently every time.
What I’ve Done So Far
I defined the initial specification of AiRY Core — basically the rules that make the language work:
set — declares a variable
show — displays a value
read — reads input
if / else / elseif — conditionals
loop — equivalent of for
infloop — equivalent of while
Basic arithmetic and logical operations
A rule system for handling errors and unsupported operations
I also integrated a language model (Gemma 4-31B via Hugging Face) that translates natural language into AiRY Core using a custom prompt system. It works surprisingly well, even with variables written in Chinese.

Replying to @mihaidraghici023

1
175

Followers

Loading…