Skip to content

af-inet/RCS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RCS

An interpreted language implemented in C.

old repository https://github.com/ThroughTheVoid/RCScript/

Build

previously compiled with MinGW for Windows http://www.mingw.org/

migrated to Linux so now using gcc/make

Goal

Interpret a basic hello world / read input / if statement program such as

'''

name = input()

print("Hello " + name)

if name == "Dave" then print("Which Dave?") end

'''

etc.

Planned Features

  • Basic Math
  • Variables
  • If Statements
  • Key Input

Algorithm

  • Convert String to Tokens ex. "2+432" -> {2,'+',432}
  • Check If Tokens Are a Valid Expression ex. { 2, '/', 0 } should be resolved as invalid.
  • Evaluate Parenthesis (Convert To Tree?) ex. (2+4) of 1+(2+4)*3 should be resolved first somehow (not sure about this yet)

About

Recurse Center Script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published