/chemical-equation-balancer

a lex-yacc project that balances a given chemical equation

Primary LanguageYaccMIT LicenseMIT

STEPS TO EXECUTE THE PROJECT:

  • Open the project directory in the terminal
  • Run the following commands:
    • lex chem.l
    • yacc chem.y
    • gcc y.tab.c -ll -ly
    • ./a.out