Home

Awesome

<div align="center"> <p> <img src="https://user-images.githubusercontent.com/5677187/84074668-31633400-a9d3-11ea-9fd6-9282ab80b537.jpg"> </p> <h1>ELENA Programming Language</h1>

elena-lang.github.io | Docs | Changelog | Contributing

</div> <div align="center">

MSBuild Sponsor Sponsor

</div>

ELENA is a general-purpose language with late binding. It is multi-paradigm, combining features of functional and object-oriented programming. It supports both strong and weak types, run-time conversions, boxing and unboxing primitive types, direct usage of external libraries. A rich set of tools is provided to deal with message dispatching : multi-methods, message qualifying, generic message handlers. Multiple-inheritance can be simulated using mixins and type interfaces. The built-in script engine allows incorporating custom-defined scripts into your applications. Both stand-alone applications and Virtual machine clients are supported.

Features

Currently Supported Platforms

Source Download and Compilation

To acquire the source code clone the git repository:

git clone https://github.com/ELENA-LANG/elena-lang.git

Windows:

The compiler code is implemented in C++ and does not require external dependencies. You just need Visual Studio 2019.

You have to add a path to BIN folder to the system environment PATH or copy elenavm.dll and elenart.dll to Windows\System32 folder.

To build the compiler and API under VS2019 / VS2022 you have to go to the root folder and type:

recompile60.bat 

Source Code Organization

Windows:

The ELENA source code is organized as follows:

bin                 binaries and shared libraries
bin\scripts         scripts used by the script engine and VM console
bin\templates       ELENA project templates
asm                 source for core routines implemented in assembly
dat\sg              language grammar file            
dat\og              language optimization rules
doc                 some documentations
elenasrc3\elc       source for the compiler
elenasrc3\elenart   source for the run-time shared library
elenasrc3\elenasm   source for the script engine
elenasrc3\elenavm   source for the virtual machine
elenasrc3\gui       source for IDE
elenasrc3\tools     source for ELENA utilities
examples60          ELENA examples
src60               source for ELENA libraries

Community

We want your contributions and suggestions! One of the easiest ways to contribute is to participate in Github discussions or on Discord.

Please take a look at our contributor page

1. Bugs, questions, suggestions?

If you've noticed a bug or have a question go ahead and make one!

Join design discussions or take part in general talks.

2. Implement "up for grab" issues

Good first issue is a good starting point for a first-time contributors.

3. Rosetta code

You may try to implement some of Rosetta code tasks which are not yet implemented

Contact Us

Reach out with any questions you may have and we'll make sure to answer them as soon as possible!

PlatformLink
💬 Instant Message ChatDiscord Banner
📧 E-mailelenaprolang@gmail.com
🐤 Twitter@elena_language

Resources

License

The compiler and executables distributed in this package fall under MIT License, for more information read the file LICENSE.