Skip to content

NPM package containing an interpreter for the ><> language

License

Notifications You must be signed in to change notification settings

Suppen/fish-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fish-interpreter

The interpreter for https://fishlanguage.com

Usage

const FishExecutor = require("fish-interpreter");

const source = `"hello, world"r\
          o;!?l<`;

const executor = new FishExecutor(source);

executor.onUpdate((e) => {
	// `e` is the executor
	if (e.hasTerminated) {
		console.log(e.output);
	}
});

executor.run();

See the documentation in doc/. See the files of https://fishlanguage.com for some more advanced usage

About

NPM package containing an interpreter for the ><> language

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •