Abdur-rahmaanJ / greenberry

A one-line statement language with grammar and infinite look-ahead
https://abdur-rahmaanj.github.io/greenberry/
Apache License 2.0
51 stars 39 forks source link

Refactoring and Enhanced capture_print Function #93

Closed Prikshit7766 closed 1 year ago

Prikshit7766 commented 1 year ago
  1. File Renaming: Renamed the utils.py file to helper.py within the greenberry folder to avoid conflicts with the existing utils folder.

  2. Import Statement Updates: Updated all import statements within the codebase to use the new file name helper.py.

  3. Function Refactoring: Refactored and improved the capture_print function in helper.py to capture print statements from functions with parameters, including optional arguments, and functions with no parameters.

Abdur-rahmaanJ commented 1 year ago

@Prikshit7766 Thanks!