Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

fcannizzaro/bf-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bf-tool

Simple Bison, Flex and GCC Utility

npm version

    ____  ______   ______            __
   / __ )/ ____/  /_  __/___  ____  / /
  / __  / /_       / / / __ \/ __ \/ / 
 / /_/ / __/      / / / /_/ / /_/ / /  
/_____/_/        /_/  \____/\____/_/  

Windows

It uses custom binaries for gcc, flex and bison.

Install

npm i -g bf-tool

Usage

new

Create and init a new project.

bf-tool new "project"

init

Auto generate .l and .y files.

bf-tool init

run

Compile Bison, Flex, GCC and print error / result.

bf-tool run <expression> <flags>

--v | --version

CLI info.

Flags

-f | -file

Use a file as input.

-f in.txt

-c | -compile

Add other files that should be compiled.

-c "path/to/file1.c path/to/file2.c"

-d

Use default input file (in.txt).

-w | -watch

Build/Run on files change.

-o | -only

Compile but not run executable.

-v | -verbose

Bison -v flag.

License

MIT License

About

Simple Bison, Flex and GCC Utility

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published