Skip to content

HSE-Eolang/sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Examples for Eolang objects

Maven Central

You can play with EOLANG here, in a few simple steps:

First, clone this repo to your local machine and go to the sandbox directory (you will need Git installed):

$ git clone https://github.com/cqfn/eo.git
$ cd eo/sandbox

Then, compile the code (you will need Maven 3.3+ and Java SDK 8+ installed):

$ mvn compile

Intermediary *.xml files will be generated in the target directory (it will be created). Also, there will be *.java and *.class files. Feel free to analyze them: EO is parsed into XML, then translated to Java, and then compiled by Java SDK to Java bytecode. Finally, just run the bytecode program through JRE:

$ ./run.sh 9
9th Fibonacci number is 34

Should work.

Then, you can modify *.eo files, run mvn compile to compile them again and run.sh to run it again.

Have fun!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published