Skip to content

ezravergabera/Cocoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cocoon

A Python-based programming language designed for young learners.

How to use

  1. Open your preferred command-line interface and change directory to the folder where the cloned repo would be downloaded to by entering cd <path-to-the-folder> to your terminal

  2. Clone the repo to the folder by entering git clone https://github.com/ezravergabera/Cocoon in your command-line interface

  3. Change directory by inputting cd Cocoon to the terminal

  4. Install the required modules by entering pip install -r requirements.txt

  5. Follow the next instructions in using the lexical analyzer

There are two ways on how to use the lexical analyzer:

  1. By running the GUI

  2. By running the shell in your command line, passing two options which is -c or -f.

Shell Parameters

All parameters are case-insensitive. Only one option can be used at a time.

-cli | -c

The -cli | -c is passed to use the cli version of the lexical analyzer.

Example: python shell.py -c

-file | -f

The -file or -f is followed by the file name of the existing KKUN file as it's second passed argument. The file must have an extension of .kkun in order for it to be recognized

Example: python shell.py -f <filename>

Collaborators

  • Kim M. Montana
  • Hershey Ann C. Estoya
  • Louise Monica C. Zapanta
  • Lilianne Claire Y. Rotap
  • Gwyneth Anmarie C. Yim
  • Jose Ezra Nazarene B. Vergabera
  • Bien D. Gavino

Licenses

MIT License

Copyright (c) 2023 Montana, Estoya, Zapanta, Rotap, Yim, Vergabera, Gavino

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Python-based programming language made for kids

Resources

Stars

Watchers

Forks

Languages