MeowScript icon indicating copy to clipboard operation
MeowScript copied to clipboard

Standard Library: http

Open AlenVelocity opened this issue 1 year ago • 2 comments

Ref: https://github.com/Synthesized-Infinity/Ethereal/blob/main/src/std_library/http.rs

AlenVelocity avatar Oct 01 '23 06:10 AlenVelocity

I would like to contribute.

dhruvdabhi101 avatar Oct 01 '23 06:10 dhruvdabhi101

Hello There! 🐾

Thank you for your pawsome interest in enriching the purr-realm of Meowscript! Your claws could be just the tool we need to paw-er our way through the web. Here's how you can contribute:

Before diving into the fur-tastic world of Meowscript HTTP, you might find it useful to take a look at an existing implementation in Ethereal. This could provide you with some purr-spiration and insight on how to go about your task:

Ethereal HTTP Module Implementation

HTTP Module Specification:

We are looking to implement a basic HTTP module that can purr-form the following tasks in a way that's in tune with Meowscript's quirky, cat-inspired syntax:

  1. HTTP-Purrquest: A function to send HTTP requests and retrieve responses.
  2. URL-Pawser: A utility to parse URLs into their constituent parts.

These should be enough for the basic implementation

Implementation Cat-eristics:

  • Your code should be sprinkled with comments explaining the meow-gic behind your HTTP functionalities.
  • Ensure your module integrates smoothly with Meowscript's existing interpurrter and standard library, keeping with the playful, cat-themed syntax of Meowscript.

Testing Your Fur-tastic Code:

  • Ensure everything is building and purring along smoothly:
  • Bbuild and run the webpage

AlenVelocity avatar Oct 01 '23 07:10 AlenVelocity