{"id":26527968,"url":"https://github.com/ciathefed/fishy","last_synced_at":"2025-03-21T15:37:51.880Z","repository":{"id":279015969,"uuid":"868351806","full_name":"ciathefed/fishy","owner":"ciathefed","description":"The Fishy compiler and virtual machine","archived":false,"fork":false,"pushed_at":"2025-03-15T05:10:32.000Z","size":3956,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T06:20:12.451Z","etag":null,"topics":["bytecode","compiler","golang","programming-language","vm"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ciathefed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-06T06:39:46.000Z","updated_at":"2025-03-15T05:10:36.000Z","dependencies_parsed_at":"2025-02-23T07:33:16.712Z","dependency_job_id":"3c03dcd7-28d1-414c-9f0e-037a2e0406f4","html_url":"https://github.com/ciathefed/fishy","commit_stats":null,"previous_names":["ciathefed/fishy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciathefed%2Ffishy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciathefed%2Ffishy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciathefed%2Ffishy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciathefed%2Ffishy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ciathefed","download_url":"https://codeload.github.com/ciathefed/fishy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244823096,"owners_count":20516219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bytecode","compiler","golang","programming-language","vm"],"created_at":"2025-03-21T15:37:50.934Z","updated_at":"2025-03-21T15:37:51.859Z","avatar_url":"https://github.com/ciathefed.png","language":"Go","readme":"# Fishy\n\nWelcome to the Fishy CLI Tool! This application consists of a compiler and virtual machine for **FishyASM** and **Fishy Bytecode**, designed to streamline the development process within the Fishy ecosystem.\n\n⚠️ Fishy is just for fun and **SHOULD NOT** be used in production! ⚠️\n\n## Table of Contents\n\n- [Fishy](#fishy)\n  - [Table of Contents](#table-of-contents)\n  - [Features](#features)\n  - [Notes](#notes)\n  - [Installation](#installation)\n  - [Usage](#usage)\n  - [Examples](#examples)\n    - [Hello World](#hello-world)\n  - [Contributing](#contributing)\n  - [License](#license)\n\n## Features\n\n- **Compiler**: Convert FishyASM source code into Fishy Bytecode for execution on the virtual machine.\n- **Virtual Machine**: Execute Fishy Bytecode with support for standard library functions and custom scripts.\n- **Standard Library**: The standard library can be found [here](https://github.com/ciathefed/fishy/tree/main/stdlib), provides some macros, definitions, and functions to make your life easier.\n- **Cross-Platform**: Works on Windows, macOS, and Linux.\n\n## Notes\n\n1. The pre-processor was poorly made and until it is re-done, expect issues.\n2. All immediate values are defaulted to `uint64`.\n3. The sections `text`, `data`, and `bss` only tell the compiler where to put the bytecode (in that order), so `bss` occupies physical space in the final bytecode. This isn't saying you shouldn't use them as you would in other assembly languages, just keep in mind something like `resp 32` will add 32 bytes in the final bytecode.\n\n## Installation\n\nTo install the Fishy CLI Tool, follow these steps:\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/ciathefed/fishy\n    ```\n\n2. Navigate to the project directory:\n\n    ```bash\n    cd fishy\n    ```\n\n3. Build the project:\n\n   ```bash\n   go build\n   ```\n\n## Usage\n\nAdd the `-h` option for more details\n\n```bash\nfishy \u003ccommand\u003e [options]\n```\n\n## Examples\n\nFor more examples, please check the [examples folder](https://github.com/ciathefed/fishy/tree/main/examples).\n\n### Hello World\n\n```asm\n.section data\nmessage:\n    db \"Hello, World!\\n\", 0\n\n.section text\n_start:\n    mov x0, $1\n    mov x1, message\n    mov x2, $14\n    mov x15, $4\n    syscall\n\n    mov x0, $0\n    mov x15, $1\n    syscall\n```\n\nTo compile and run this program:\n\n```bash\nfishy build hello.fi\nfishy run out.fbc\n```\n\n## Contributing\n\nContributions are welcome! Please follow these steps to contribute:\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature/YourFeature`).\n3. Make your changes and commit them (`git commit -m 'Add some feature'`).\n4. Push to the branch (`git push origin feature/YourFeature`).\n5. Open a pull request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/ciathefed/fishy/blob/main/LICENSE) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciathefed%2Ffishy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fciathefed%2Ffishy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciathefed%2Ffishy/lists"}