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

  • 9 Devlogs
  • 16 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 executed by a Rust-based interpreter. Natural language -> AI translated code -> lexer -> parser -> Cranelift JIT -> output

Open comments for this post

44m 43s logged

Hi guys because my project was not accepted for huggingface, I changed to Tencent: Hy3 (free), from ai.hackclub.com

0

Loading discussion…

0
13
Ship #1 Pending review

## Quality-of-Life Improvements

1. Natural language programming through AI translation.
2. Simplified syntax with minimal boilerplate.
3. Dynamic variables and beginner-friendly control flow.

This is one of my best projects I hope you like it and I will continue working on this and I will never let this down. Hold up AI era I come :)

Try project → See source code →
Open comments for this post

1h 37m 40s logged

OK……..I just translated almost all the python in rust. I used some AI here to boost up this things, I also wrote down some instructions for the use of the language. Hope you like it, hope you like my idea, I want someday to make this language one of the biggest. Maybe you can contact me and we can create a large community :)))

Executables

I created an app for Ubuntu, one for macOS and one for Windows.

Also

I will continue working on this language so follow me to get new updates ; )

1

Loading discussion…

0
39
Open comments for this post

3h 1m 29s logged

Finally ready….. I have built the Cranelift interpreter😮‍💨😮‍💨😎😎🎉🎉. The programming language is now stable you can write some programs in it and works perfectly, out puts perfectly.

Last thing

Now to finish it I have to translate all python part into rust so I can make a stable release.

0

Loading discussion…

0
44
Open comments for this post

2h 14m 37s logged

What I did

I finished the parser 🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉. So what a parser do is that it takes the tokens generated by the lexer and creates structures with them, also verifying the syntax of the code. For this ⬅️⬆️ it uses the ast (Abstract Syntax Tree).

Changes of plans

I recently discovered Cranelift, that I give the structures generated by the parser and translates them in machine code, and it is way faster than my first option to write a rust interpreter that would’ve done the same thing.

0

Loading discussion…

0
42
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).

0

Loading discussion…

0
118
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!!!

0

Loading discussion…

0
90
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!!

0

Loading discussion…

0
76
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 :)))

3

Loading discussion…

0
158
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.

2

Loading discussion…

1
207

Followers

Loading…