24 lines
784 B
Markdown
24 lines
784 B
Markdown
# Elna programming language
|
|
|
|
Elna is a simple, imperative, low-level programming language.
|
|
|
|
It is intendet to accompany other languages in the areas, where a high-level
|
|
language doesn't fit well. It is also supposed to be an intermediate
|
|
representation for a such high-level hypothetical programming language.
|
|
|
|
## File extension
|
|
|
|
.elna
|
|
|
|
## Current implementation
|
|
|
|
This repository contains a GCC frontend for Elna. After finishing the frontend
|
|
I'm planning to rewrite the compiler in Elna itself with its own backend and
|
|
a hand-written parser. So GCC gives a way to have a simple bootstrap compiler
|
|
and a possbility to compile Elna programs for different platforms.
|
|
|
|
## Grammar
|
|
|
|
Flex and bison grammar specifications, `lexer.ll` and `parser.yy`, can be found
|
|
in the `boot/` directory.
|