Skip to content

JoshAgustinT/bf_interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Using bf interpreter

  • Compile bf.cpp using c++ compiler
  • First argument will be used as bf program to interpret
  • Test files found in benches/ folder

Flags (anywhere in args)

  • "-p" : [profiler flag] Outputs bf instructions & loop counts, loop strings limited in size, add "-v" flag to remove this limit, ie ./a.out file.bf -p -v
  • "-v" : [verbose flag] Loop string output of "-p" flag limited by default due to some loop strings being extremely long, use this flag to output full loop strings
  • "-d" : [debugging flag] Will output every bf file token as it's interpreted

Makefile

  • Due to evolving complexity of project the makefile is now nothing of interests, just used for personal debugging

Refrence to spec

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published