Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

mastersneeza/Timid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timid

Timid is to be a maths language I guess...
it might do other things like Python or it might not...
but first thing will be maths because maths is annoying to manually do.

Features

Timid is currently a general expression evaluator.
Timid supports numbers, booleans and null values.
Timid also supports arithmetic, comparisons and equality + - * / ^ % == != < <= > >= ! (try guess which ones they do!)
It is able to do simple arithmetic, comparisons, equality, and more.
Timid compiles your expression down into a custom bytecode for an interpreter written in C, called TimidRuntime.

Syntax

Timid's syntax currently follows C's order of operations for expressions.

Instructions

Windows users: set <Timid Install Location>\Timid as your working directory
then run <Timid Install Location>\Timid> py Timid.py in the terminal to get started.
UNIX users: have GCC preinstalled, then run $ gcc ~/Timid/tVirtual*.c -o ~/Timid/TimidRuntime.
Then, run $ python ~/Timid/Timid.py to get started
Currently, Timid automatically prints the result, and only supports expressions, not full statements.

Examples

Go to the ~Timid/Examples directory and run the programs in there and try to mess around.
For example, after setup, try > python ~\Timid\Timid.py ~\Timid\Examples\example.timid on Windows or $ python ~/Timid/Timid.py ~/Timid/Examples/example.timid on UNIX systems
Try do other random programs or things. Try break Timid because its so bloody bad.

About

Timid language most likely for maths

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published