Eros is an expiremental programming language built using simple Python code.

Related tags

MiscellaneousEros
Overview

EROS EXPIREMENTAL PROGRAMMING LANGUAGE

Eros is a simple syntax programming language built with simple Python code,
allowing for more ease in modification and further expirementation by anyone.

The language currently uses a static file for ease in testing, but this will obviously be
changed to open any type of file type specified. To run, simply put your code in test.es and run main.py.

main.py creates an intepreter space using interpreter.py, which goes through the code and uses
functions.py to carry out the users commands. The design is currently simple but will evolve soon
as much more user expandability is added.

Built by zxro (c) 2021
twitter.com/xozxro

BASIC SYNTAX

VARIABLES


#########################################
### STRINGS

# DYNAMIC - dynamic strings are string variables that can be modified and type sliced after being set

dynamic stringVar = this is a string 123 these are ints 456
print stringVar

# outputs 'this is a string 123 these are ints 456'

# STATIC - static strings are string variables that hold retained data from another variable
# they can be used just like dynamic variables in all other aspects

# they can be used to 'type slice' - extracting only a certain data type out of dynamic strings
# in the future this will be modifyable, making it easy for developers to define their own types in order
# to quickly handle and filter large amounts of data through a one line type slice.

static intVar = stringVar : int
print intVar

# outputs 123 456

#########################################
### ARRAYS

# arrays can be created via segmenting data by any specified token.
# place this token in between brackets when creating the array.
# leave blank to segregate by space or place your data in brackets.
# eg. new [] arr = [x,y,z]

int elem1 = 1
int elem2 = 2
dynamic elem3 = string
new [] arrVar = elem1 elem2 elem3
print arrVar

# outputs [1,2,'string']

# and these will have the same result...

new [,] arrVar = elem1,elem2,elem3
new [-] arrVar = elem1- elem2-elem3
new [] arrVar = [elem1, elem2,elem3]

# TYPE CONVERSION

static intVar = stringVar : int
new [] intVar;

#########################################
### NUMBERS

# INT

new int newInt = 3
print newInt

# outputs 3

# FLOAT

new float newFloat = 3.2
print newFloat

# outputs 3.2

# TYPE CONVERSION
# this will convert typeSliceVar into an integer variable within the programs data array.
# if typeSliceVar includes multiple numbers spaced apart, this will sum them up and return that value.

static typeSliceVar = example : int
int typeSliceVar;

#########################################
### BOOLEANS

new bool isBool = True

#########################################
###

PRINT


### basic string and variable output

print this is a string

# outputs 'this is a string'

dynamic string = 'xyz'
print string

# outputs 'xyz'

### string connetation and type slicing

dynamic string = this is a string with some 8324 numbers and some 3.23 floats
dynamic stringB = and this is another!
print string ++ string : int ++ stringB

# outputs 'this is a string with some 8324 numbers and some 3.23 floats 8324 and this is another!'

Owner
zxro
zxro
Inacap - Programa para pasar las notas de inacap a una hoja de cálculo rápidamente.

Inacap Programa en python para obtener varios datos académicos desde inacap y subirlos directamente a una hoja de cálculo. Cómo funciona Primero que n

Gabriel Barrientos 0 Jul 28, 2022
A brainfuck-based game oriented language written in python.

GF.py STILL WIP Gamefuck.py is a programming language based off brainfuck. It is oriented towards game development, and as such has many commands spec

Xenon 1 Feb 23, 2022
A Python program for calculating the 95%CI for GNSS-derived site velocities

GNSS_Vel_95%CI A Python program for calculating the 95%CI for GNSS-derived site velocities Function_GNSS_95CI.py is a Python function for calculating

<a href=[email protected]"> 4 Dec 16, 2022
Goddard A collection of small, simple strategies for Freqtrade

Goddard A collection of small, simple strategies for Freqtrade. Simply add the strategy you choose in your strategies folder and run. ⚠️ General Crypt

Shane Jones 118 Dec 14, 2022
Create an application to visualize single/multiple Xandar Kardian people counting sensors detection result for a indoor area.

Program Design Purpose: We want to create an application to visualize single/multiple Xandar Kardian people counting sensors detection result for a indoor area.

2 Dec 28, 2022
This code can help you with auto update for-TV-advertisements in the store.

Auto-update-files-for-TV-advertisements-in-the-store This code can help you with auto update for-TV-advertisements in the store. It was write for Rasp

Max 2 Feb 20, 2022
Dungeon Dice Rolls is an aplication that the user can roll dices (d4, d6, d8, d10, d12, d20 and d100) and store the results in one of the 6 arrays.

Dungeon Dice Rolls is an aplication that the user can roll dices (d4, d6, d8, d10, d12, d20 and d100) and store the results in one of the 6 arrays.

Bracero 1 Dec 31, 2021
Module-based cryptographic tool

Cryptosploit A decryption/decoding/cracking tool using various modules. To use it, you need to have basic knowledge of cryptography. Table of Contents

/SNESE_AR\ 33 Nov 27, 2022
Repository, with small useful and functional applications

Repositorio,com pequenos aplicativos uteis e funcionais A ideia e ir deselvolvendo pequenos aplicativos funcionais e adicionar a este repositorio List

GabrielDuke 6 Dec 06, 2021
Play tic-tac-toe in PowerPoint

The presentation has around 6,000 slides representing every possible game state (and some impossible ones, since I didn't check for wins or ties). You play by clicking on the squares, which are hyper

Jesse Li 3 Dec 18, 2021
Ml-design-patterns - Source code accompanying O'Reilly book: Machine Learning Design Patterns

This is not an official Google product ml-design-patterns Source code accompanying O'Reilly book: Title: Machine Learning Design Patterns Authors: Val

Google Cloud Platform 1.5k Jan 05, 2023
Tutorial on Tempo, Beat and Downbeat estimation

Tempo, Beat and Downbeat Estimation By Matthew E. P. Davies, Sebastian Böck and Magdalena Fuentes Resources and Jupyter Book for the ISMIR 2021 tutori

49 Nov 06, 2022
Protocol Buffers for the Rest of Us

Protocol Buffers for the Rest of Us Motivation protoletariat has one goal: fixing the broken imports for the Python code generated by protoc. Usage He

Phillip Cloud 76 Jan 04, 2023
Submission to the HEAR2021 Challenge

Submission to the HEAR 2021 Challenge For model evaluation, python=3.8 and cuda10.2 with cudnn7.6.5 have been tested. The work uses a mixed supervised

Heinrich Dinkel 10 Dec 08, 2022
Eros is an expiremental programming language built using simple Python code.

Eros is an expiremental programming language built using simple Python code. Featuring an easy syntax and unique features like type slicing, the language remains an expirement that grows in down time

zxro 2 Nov 21, 2021
适用于HoshinoBot下的人生重来模拟器插件

LifeRestart for HoshinoBot 原作地址 python版原地址 本项目地址 安装方法 这是一个HoshinoBot的人生重来模拟器插件 这个项目使用的HoshinoBot的消息触发器,如果你了解其他机器人框架的api(比如nonebot)可以只修改消息触发器就将本项目移植到其他

黛笙笙 16 Sep 03, 2022
Script de monitoramento das teclas do teclado, salvando todos os dados digitados em um arquivo de log juntamente com os dados de rede.

listenerPython Script de monitoramento das teclas do teclado, salvando todos os dados digitados em um arquivo de log juntamente com os dados de rede.

Vinícius Azevedo 4 Nov 27, 2022
A curated list of awesome things related to Pydantic! 🌪️

Awesome Pydantic A curated list of awesome things related to Pydantic. These packages have not been vetted or approved by the pydantic team. Feel free

Marcelo Trylesinski 186 Jan 05, 2023
A simple project which is a ecm to found a good way to provide a path to img_dir in gooey

ECM to find a good way for img_dir Path in Gooey This code is just an ECM to find a good way to indicate a path of image in image_dir variable. We loo

Jean-Emmanuel Longueville 1 Oct 25, 2021
PREFS is a Python library to store and manage preferences and settings.

PREFS PREFS is a Python library to store and manage preferences and settings. PREFS stores a Python dictionary in a total human-readable file, the PRE

Pat 13 May 26, 2022