Skip to content

otakubeam/etude

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Etude Programming Language

Introductory presentation (ru)


Etude is lower-ish level programming language designed for educational purposes but with the aspirations of writing real-world software.


Currently the compiler can run some basic programs but hopelessly lacking in other ways. Sometimes in non-obvious ways. I do intend to fix all these imperfections eventually, if the god is willing. Until then, have fun!

Hosting

  1. Github ← ⭐⭐⭐!
  2. Sourcehut
  3. Gitea with syntax highlighing ← code written in Étude

First steps

  1. Look in the examples/test directory to get a feeling of the syntax
  2. Build the compiler:
    • Dependencies: fmt, qbe.

    • Run cmake & make

      cmake -B build
      cd build
      make -j8
    • Add the path to stdlib to your environment

      The author does this:

      export ETUDE_STDLIB="$HOME/.cache/etude"
      ln -s $(realpath ./stdlib) $ETUDE_STDLIB
      
    • Run the tests (if they fail, try different commit)

      chmod +x test.sh
      ./test.sh
  3. At this point you are ready to hack on the compiler

Historic/Old

Check out the 0.2.0 tag of the repository: it contains the bytecode compiler and interpreter as well as graphviz vizualizer.

Contributors

About

The Etude Programming Language

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •