Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for Internal and External API #11

Open
Redfire75369 opened this issue Aug 10, 2021 · 1 comment
Open

Documentation for Internal and External API #11

Redfire75369 opened this issue Aug 10, 2021 · 1 comment
Labels
Documentation Issues, Additions and Improvements to Documentation Progress: Started Type: Help Wanted Extra Attention is Needed

Comments

@Redfire75369
Copy link
Owner

Redfire75369 commented Aug 10, 2021

Lack of Documentation

Spiderfire is currently lacking documentation for most of its API. It would be nice to have the structs and functions documented so that contributors can more easily understand the codebase, and users can begin creation of native modules.

Requirements

This task requires basic understanding of Rust, to understand the codebase, and intermediate understanding of Javascript, to understand the interactions with SpiderMonkey.
Difficulty: Easy to Intermediate

Workspace Crates

  • Ion Procedural Macros ('ion-proc`): Contains procedural macros.
    • Wrappers around regular macros
  • Ion (ion): Contains wrappers around the native JSAPI.
    • Wrappers around native types. (IonObject, IonArray, IonDate, IonFunction)
    • Conversion and printing of native types.
    • Handling runtime exceptions.
  • Runtime ('runtime'): Contains functions related to runtime initialisation and operation.
    • Module loader.
    • Console global.
    • Logging level.
  • Modules ('modules'): Contains standard modules.
    • Assertion (assert)
    • File System (fs)
  • CLI (cli): Contains the application code for the command-line interface.
    • Evaluation (eval)
    • REPL (repl)
    • Running modules/scripts (run)
@Redfire75369 Redfire75369 added Documentation Issues, Additions and Improvements to Documentation Type: Help Wanted Extra Attention is Needed Good First Issue labels Aug 10, 2021
@guest271314
Copy link

How to read from stdin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Issues, Additions and Improvements to Documentation Progress: Started Type: Help Wanted Extra Attention is Needed
Projects
None yet
Development

No branches or pull requests

2 participants