Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

MyoniM/edu

Domaine:

natural language processing

Type de record:

software
Créateur:
Myo
Hôte:
A transpiled Amharic programming language with not so easy syntax. edu is transpiled to javascript. # edu - Amharic programming language! edu is a minimal, transpiled programming language with not so easy syntax :P. edu transpiles to plain `javascript`. If you want to try it out, here is a playground ## How does edu work? - `1) Lexer/ Tokenizer` - A tokenizer splits the input into a stream of larger units called tokens. This happens in a separate stage before parsing. - `2) Parser` - Parsers turn strings of characters into meaningful data structures (like a JSON object). The returned - `3) Generator` - Generator takes the parsed object and changes it to the desired language(Javascript) which in turn will be executed to generate a machine code. ## Features - null - variables - boolean - numbers - strings - array - if condition - loop - lambda functions - comments ## Examples `Null` ```js ባዶ := null //transpiled version of the code var ባዶ = null ``` `Boolean` ```js ቡሊያን := እውነት //transpiled version of the code var ቡሊያን = true ``` `Number` ```js ቁጥር := 100 //transpiled version of the code var ቁጥር = 100 ``` `String` ```js ቁምፊዎች := "ደብዳቤ" //transpiled version of the code var ቁምፊዎች = "ደብዳቤ" ``` `Array` ```js ድርድር := [1 "ሁለት" እውነት] //transpiled version of the code var ድርድር = [1, "ሁለት", true] ``` `If condition` ```js መልስ := ከሆነ(እውነት () => "እውነት ነው" () => "ውሸት ነው" ) //transpiled version of the code var መልስ = ከሆነ( true, function ( ) { return "እውነት ነው" }, function ( ) { return "ውሸት ነው" } ) ``` `Loop` ```js ለእያንዳንዱ(ክልል(0 6) አውጣ) //transpiled version of the code ለእያንዳንዱ( ክልል( 0, 6 ), አውጣ ) ``` `Lambda function` ```js ተግባር := () => "ይሰራል" //transpiled version of the code var ተግባር = function ( ) { return "ይሰራል" } ``` `A working fibonacci sequence example` ```js ፋይቦናቺ := (n) => { ከሆነ(ያንሳል(n 2) () => n () => ከሆነ(እኩል_ነው(n 2) () => 1 () => ደምር( ፋይቦናቺ(ቀንስ(n 1)) ፋይቦናቺ(ቀንስ(n 2)) ) ) ) } //transpiled version of the code var ፋይቦናቺ = function ( n ) { return ከሆነ( ያንሳል( n, 2 ), function ( ) { return n }, function ( ) { return ከሆነ( እኩል_ነው( n, 2 ), function ( ) { return …

Visit

github.com

Languages

Amharic

Tags

javascriptmoojsnearleyjs

Similaires

MyoniM/edu-playground

MyoniM/edu-playground

edu - a transpiled amharic programming language playground # edu - Amharic programming language! e