Coder Social home page Coder Social logo

omnit3a / jenny Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 390 KB

The official repository for the Jenny programming language

License: MIT License

Shell 0.14% Batchfile 0.23% Java 99.63%
programming-language java interpreter assembly homebrew open-source java-based-language documentation procedural-programming stack-based

jenny's Introduction

Jenny

Jenny is an interpreted stack-based procedural programming language. I was inspired to create Jenny after watching Tsoding's videos on the creation of Porth.

All Jenny source files must use the ".jen" file extension.

Plans for Jenny (In order of importance)

See also: Todo.md

  • Code Comments
  • Header files
  • Standalone console app to run interpreter
    • GUI App to run the interpreter
  • Compiler
  • Multiple data types
    • Bytes
    • Bits
    • Chars
    • Floating-pont Numbers
    • Integers
  • Multiple data structures
    • Arrays
    • Tuples
    • Hashmaps
  • User Input

How to run the Jenny interpreter (as of Alpha v2.0)

  1. Download the correct zip file from the releases menu
  2. Run either "run.sh" (if you're on mac) or "run.bat" (if you're on Windows)
  • 2.1 To run on mac, set the directory of the terminal to the folder where you saved the build for Jenny, then run the command "sh run.sh"
  • 2.2 To run on windows, set the directory of the command prompt to the folder where you saved the build for Jenny, then run the command "run.bat"
  1. You will be greeted with a blinking cursor once you run the startup file. Enter the file path of the ".jen" file you wish to run, then press enter
  2. You will now be running the program the you specified

How to add a new feature to Jenny

  1. Add the code for the instruction to the "com.src.Instructions" package
  2. Add the switch-case for the instruction to the Main.java file
  3. Add the entry for the amount of tokens needed for the instruction to the InstructionValues.tokens hashmap

jenny's People

Contributors

omnit3a avatar

Stargazers

 avatar  avatar

Watchers

 avatar

jenny's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.