← 输入框|github.com|刷新
Skip to content

Latest commit

 

History

History

cppython

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

CPPython - Lexer/Parser

Requirements

  • Flex 2.6.4
  • Bison 3.5.1
  • GCC 9.3.0
  • Make 4.2.1
  • [Optional] Valgrind 3.15.0

Usage

The first command clean the environment, compile the system again and generates all the binaries, outputs:

$ cd src
$ make clean; make
$ ./cppython tests/parser/valid_arithmetic_int_float.ppy
$ ./cppython tests/parser/invalid_assigns.ppy

Check for memory leaks

Run valgrind to check for memory leaks:

$ make clean; make; make valgrind < tests/semantic/test_var_types.ppy

Author

Name: Dayanne Fernandes da Cunha
University ID: 130107191