Skip to content
/ cesil Public

CESIL Language Interpreter in JavaScript

License

Notifications You must be signed in to change notification settings

yphoenix/cesil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cesil

CESIL Language Interpreter in JavaScript

Install

You need node, which you can get from: https://nodejs.org/

Globally

npm install -g cesil

Run (globally)

cesil file.ces

Locally

npm install cesil

Run (locally)

1. npm run cesil file.ces
2. node src/cesilCLI.js file.ces
3. bun src/cesilCLI.js file.css

Language information

https://en.wikipedia.org/wiki/CESIL

Extensions

This implementation of CESIL supports

  1. The subroutine instructions JSR LABEL and RET
  2. Positive numbers do not need a + sign, if it looks like a number, it is treated as such
  3. Comment lines can start with a *

Example files

Can be found in the examples folder or at: https://github.com/yphoenix/cesil/tree/main/examples

License

MIT

About

CESIL Language Interpreter in JavaScript

Resources

License

Stars

Watchers

Forks