Skip to content

My first ever attempt to make a programming language. Very basic and weird implementation cause skill issue

Notifications You must be signed in to change notification settings

xXx-insane-xXx/ins-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

INS LANG

How it works

main.py reads

  • test.ins file and passes integers convertible objects to a list
  • if it sees + op, it calls add fn
  • if it sees . op, it prints the result

Syntax

  • {int int int . .} + .
  • See test.ins file to know more

Caveats

  • You have to use test.ins only
  • Only plus operation via "+" and dump operation via "." is supported
  • It runs by executing main.py actually, thats what ins-run also does. I know very weird.

Examples

$ echo "2 2 4 4 + ." > test.ins
$ chmod +x ./ins-run
$ ./ins-run

Wow nice

I am bad at writing READMEs
Written in emacs with insanity

About

My first ever attempt to make a programming language. Very basic and weird implementation cause skill issue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published