A simple package that allows for synthesising simple, syntaxically correct, javascript code
pip install tinyjsfrom tinyjs import create_program, annotate_program
program_list = create_program(level="ALL", count=1000)
annotated_program_list = annotate_program(program_list, level="ALL")
# Or
annotated_program_list = create_program(level="ALL", count=1000, annotated=True)Note: Annotation requires NodeJS to be installed! Annotation happens by evaluating the code, and for reliability, this was handled by native NodeJS instead
This project is licensed under the MIT License. See the LICENSE file for details.
This project is a modified port of the TinyJS generator by Kamel Yamani et al., 2021