Skip to content
/ BLC Public

A basic calculator constructed by Bison, Flex and LLVM.

License

Notifications You must be signed in to change notification settings

ctrysbita/BLC

Repository files navigation

BLC

A basic calculator constructed by Bison, Flex and LLVM. (Wiki)

Environments

Building BLC requires folloing components:

  • Bison / Yacc: Generate syntax parser in C.
  • Flex / Lex: Generate lexical analyzer in C.
  • GCC / Clang / MSVC: Compiling C/C++ programs. (C++17 support required)
  • LLVM: IR generation and executable compilation. (LLVM 9.0+ required)

Compilation Guide

Go to the src directory, make it~

cd src
make all

After the command is finished, a file named main will be generated, which is the executable after compilation.

./main
[IN]<-

About

A basic calculator constructed by Bison, Flex and LLVM.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •  

Languages