Eve programming Language. Toy project.

Overview

Eve Programming Language

made-with-C GPLv3 license GitHub stars

How to use Eve

Install & Run

$ sudo make install
$ eve <filename>.eve

Version check

$ eve -v

Clean

$ sudo make clean

Hello World! in Eve

eve["Hello World!"]:

eve["こんにちは世界!"]:

Data types

v text = "String": // String

v num = 10: // Int

v num = -10: // Int(negative number)

Function

func main[x, y] {
    eve[x, y]:
}:

main["Hello", "World"]:

List

list Animals [
    "dog",
    "cat",
    "penguin",
    "girafe",
    "snake"
]:

eve[Animals->[0]]:

Append List

list Languages["Eve", "Golang"]:

append.Languages->"Python":

Destroy List

destroy.list->Animals:

Keyboard input variable definition

v.input->string text:

v.input->int number:

eve[text]:

eve[number]:

Arithmetic

v num = 10:

num += 1:

num -= 1:

num *= 4:

num /= 4:

eve[num]:

Compare

/*
   true -> 1
   fase -> 0
*/

eve[10 == 10]: // returns 1

eve[10 != 10]: // returns 0

eve["ABC" == "ABC"]: // returns 1

eve["ABC" != "ABC"]: // returns 0

eve[2 < 4]: // returns 1

eve[4 > 2]: // returns 1

If statements

/*
   true -> 1
   fase -> 0
*/

if 1 {
    eve["True"]:
}:

if 0 {
    eve["0 means false"]:
} else {
    eve["we can use else!"]:
}:

if "Eve" == "Eve" {
    eve["Eve is Eve"]:
}:

For loop

for loop->10
{
    eve["Loops 10 times!"]:
}:
for loop
{
    eve["Loops forever"]:
}:
// Print all args in list.

list Languages ["Rust", "Go", "Ruby", "C", "C++"]:

for i in Languages
{
    eve[i]:
}:

Random integer

v number = 0 ~ 5:

eve[number]:

Read File

v text = File.read["sample.txt"]: // Read file

eve[text]: // Print text.

Create File

File.create["Created.txt"]:

Write to file

File.write["sample.txt", "Hello World!"]:

Sleep

v test = "Print Hello Eve! after 3 seconds.":

eve[test]:

sleep[3]:

eve["Hello Eve!"]:

Exit

eve["exit function"]:

exit[]:

eve["exit function"]:

Browser

browser["https://youtube.com"]:

Print the Address

v name = "Ibuki":

eveAdr[name]:

Eve Shell

$ eve

My Movie

Eve Programming Language ToDoList

  • Implement data type string
  • Implement data type integer
  • Implement variable
  • Implement function
  • Implement list
  • Implement sleep function
  • Implement force termination
  • Implement comments
  • Implement if statement
  • Implement for loop
  • Implement file operation
  • Implement arithmetic
  • ...
Owner
tsharp0x11
# Hello World!
tsharp0x11
PLP Project Programming Language | Programming for projects and computer science and research on computer and programming.

PLPv2b PLP Project Programming Language Programming Language for projects and computer science and research on computer and programming. What is PLP L

PLP Language 5 Jun 23, 2022
StarkScript - or the Stark programming language - is a compiled C-based programming language that aims to offer the same usability as that of JavaScript's and TypeScript's

StarkScript StarkScript - or the Stark programming language - is a compiled C-based programming language that aims to offer the same usability as that

EnderCommunity 5 May 10, 2022
This repository contains toy ImPlot applications that demonstrate some of the library's functionality

ImPlot Demos This repository contains toy ImPlot applications that demonstrate some of the library's functionality.

Evan Pezent 58 Jun 26, 2022
Toy LLVM obfuscator pass

ToyObfuscator Some simple obfuscator ;) (base on llvm-10) Compile Build out-tree pass git clone https://github.com/veritas501/ToyObfuscator.git cd Toy

veritas501 38 Jun 14, 2022
Toy 8 bit CPU with a real assembler

neko8 neko8 is a 8 bit CPU emulator designed to be easy to learn written in C. It uses its own simple architecture and can be programmed in its own fo

rem 4 Jan 4, 2022
nn - a toy operating system, designed for fun

nn is a toy operating system, designed for fun (and from a position of general naïveté). i'm not sure how far it'll go, but one thing's for sure: it'll probably implement nearly nothing.

Lux L. 2 Jan 28, 2022
frost is a programming language with a focus on low-friction systems programming.

❄️ frost frost programming language About frost is a programming language with a focus on low-friction systems programming.

null 4 Nov 12, 2021
The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.

Wren is a small, fast, class-based concurrent scripting language Think Smalltalk in a Lua-sized package with a dash of Erlang and wrapped up in a fami

Wren 5.7k Jun 27, 2022
C+- is a personal project trying to make a programming language.

C+- A personal project trying to be a programming language with close resemblence to C/C++ (probably gonna fail at that).

Arin 5 Mar 26, 2022
C programming language project-I.

Number-Guessing Approach: The following steps can be followed to design the game: 1.Generate a random number between 0 and N. 2.Then iterate from 1 to

Aap_59 1 Dec 26, 2021
Competitive Programming - Programming👨‍💻 Questions on BinarySearch💻, LeetCode💻, CodeChef💻, Codeforces💻,DSA 450

?? Hacktoberfest2021 ?? This repository is open to all members of the GitHub community. Any member can contribute. Contribute according to the steps g

Anupam Kumar Krishnan 115 Jun 24, 2022
J is an array programming language

J: From C to C++20 J is an array programming language created by Ken Iverson and Roger Hui (see image below).

Conor Hoekstra 38 Jun 14, 2022
A minimal viable programming language on top of liblgpp

This project aims to implement a minimal viable programming language on top of liblgpp. setup The project requires a C++17 compiler, CMake and liblgpp

Andreas Nilsson 73 Jun 28, 2021
A perfect blend of C, Java, and Python tailored for those who desire a simple yet powerful programming language.

Fastcode A perfect blend of C, Java, and Python tailored for those who desire a simple yet powerful programming language. FastCode is a procedural/str

null 27 May 31, 2022
Loop is an object oriented programming language

Loop Loop is an object oriented programming language. How do I build and run loop? Make sure, you installed the requirements for clang and make: Debia

Loop 24 Aug 9, 2021
C implementation of the Monkey programming language.

Development of this interpreter continues here: dannyvankooten/pepper-lang C implementation of the Monkey programming language. Bytecode compiler and

Danny van Kooten 19 Jun 22, 2022
A programming language made in C

1. Fang A programming language made in C 1.1. Meaning Fang stands for "Feline Language". In hopes of it being cool like a cat! On top of it, you can b

Synth 5 Apr 8, 2021
AHHH: a programming language for the dreadful

AHHH: a programming language for the dreadful Screaming into the Void but make it Turing Complete AHHH is an esoteric programming language inspired by

Kyle Morgenstein 134 Jun 19, 2022