master
xerox 5 years ago
parent e52d3728ff
commit c1c395ed78

@ -1,11 +1,11 @@
# Deon programming language V0.9.6 # Eon programming language V0.9.6
My computer programming language made with LEX/YACC written in C. (interpreted) My computer programming language made with LEX/YACC written in C. (interpreted)
# Downloads # Downloads
Supports both linux and windows, download link for current build can be found here: [download link](https://githacks.org/xerox/deon/-/tags) Supports both linux and windows, download link for current build can be found here: [download link](https://githacks.org/xerox/eon/-/tags)
# Hello World. # Hello World.
Hello world in Deon. Hello world in Eon.
```c ```c
def main: def main:

@ -1,4 +1,4 @@
echo -e "\e[31m[WARNING] if this fails to build, its because lex output a bad C file. Please put a '}' at the end of the erroring functions!\e[0m" echo -e "\e[31m[WARNING] if this fails to build, its because lex output a bad C file. Please put a '}' at the end of the erroring functions!\e[0m"
lex deon.l lex eon.l
yacc -d deon.y yacc -d eon.y
gcc lex.yy.c y.tab.c hashmap/map.c -o deon64 gcc lex.yy.c y.tab.c hashmap/map.c -o eon64

@ -1,4 +1,4 @@
echo -e "\e[31m[WARNING] if this fails to build, its because lex output a bad C file. Please put a '}' at the end of the erroring functions!\e[0m" echo -e "\e[31m[WARNING] if this fails to build, its because lex output a bad C file. Please put a '}' at the end of the erroring functions!\e[0m"
lex deon.l lex eon.l
yacc -d deon.y yacc -d eon.y
gcc -m32 lex.yy.c y.tab.c hashmap/map.c -o deon gcc -m32 lex.yy.c y.tab.c hashmap/map.c -o eon

Binary file not shown.

Binary file not shown.

@ -58,6 +58,7 @@
<Keyword>Win32Proj</Keyword> <Keyword>Win32Proj</Keyword>
<RootNamespace>deon</RootNamespace> <RootNamespace>deon</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
<ProjectName>eon</ProjectName>
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
Loading…
Cancel
Save