gofra


Namegofra JSON
Version 0.0.5 PyPI version JSON
download
home_pageNone
SummaryA Stack-based compiled programming language
upload_time2025-08-27 14:46:21
maintainerNone
docs_urlNone
authorKirill Zhosul
requires_python<4.0,>=3.12
licenseMIT
keywords compiler language
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Gofra

**A Stack-based compiled programming language**

**Project is made for FUN and educational purposes! Don`t expect anything cool from it and just try/contribute**

---
#### [Documentation and information is available here](https://kirillzhosul.github.io/gofra)
---

## Overview
Gofra is a **concatenative** (stack-based) programming language that compiles to native code. 
Programs are written using [Reverse Polish notation](https://en.wikipedia.org/wiki/Reverse_Polish_notation), where operations follow their operands (e.g `2 + 2` is `2 2 +`).

## Quick start

Here's a simple **"Hello, World!"** example:
```gofra
include "std.gof"

func void main
    FD_STD_OUT "Hello, World!\n" sc_write drop
end
```

## Platform support
Gofra currently supports native compilation (no cross-compilation yet). You must compile on the same platform as your target:

- **x86_64** (Linux)
- **AArch64** macOS (Darwin)

## Features
- *Low-level* - Write unsafe, low-level code with direct memory access
- *Native Compilation* - Generates optimized native assembly code
- *Type Safety* - Validates stack usage and type correctness at compile time
- *C FFI* - Seamless integration with **C** libraries (including libc)

## Installation

**For full installation steps, please visit [Documentation](https://kirillzhosul.github.io/gofra) page**

[Gofra](https://github.com/kirillzhosul/gofra) is distributed as single Python-based toolchain. To install:

```bash
pip install gofra
gofra --help
```


## More information and next steps

Please refer to actual [Documentation](https://kirillzhosul.github.io/gofra)!
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "gofra",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.12",
    "maintainer_email": null,
    "keywords": "compiler, language",
    "author": "Kirill Zhosul",
    "author_email": "kirillzhosul@yandex.com",
    "download_url": "https://files.pythonhosted.org/packages/1b/a7/02362af42bc30abe5cba4e214522caa3689da7949adc19d68f8e9bfc0309/gofra-0.0.5.tar.gz",
    "platform": null,
    "description": "# Gofra\n\n**A Stack-based compiled programming language**\n\n**Project is made for FUN and educational purposes! Don`t expect anything cool from it and just try/contribute**\n\n---\n#### [Documentation and information is available here](https://kirillzhosul.github.io/gofra)\n---\n\n## Overview\nGofra is a **concatenative** (stack-based) programming language that compiles to native code. \nPrograms are written using [Reverse Polish notation](https://en.wikipedia.org/wiki/Reverse_Polish_notation), where operations follow their operands (e.g `2 + 2` is `2 2 +`).\n\n## Quick start\n\nHere's a simple **\"Hello, World!\"** example:\n```gofra\ninclude \"std.gof\"\n\nfunc void main\n    FD_STD_OUT \"Hello, World!\\n\" sc_write drop\nend\n```\n\n## Platform support\nGofra currently supports native compilation (no cross-compilation yet). You must compile on the same platform as your target:\n\n- **x86_64** (Linux)\n- **AArch64** macOS (Darwin)\n\n## Features\n- *Low-level* - Write unsafe, low-level code with direct memory access\n- *Native Compilation* - Generates optimized native assembly code\n- *Type Safety* - Validates stack usage and type correctness at compile time\n- *C FFI* - Seamless integration with **C** libraries (including libc)\n\n## Installation\n\n**For full installation steps, please visit [Documentation](https://kirillzhosul.github.io/gofra) page**\n\n[Gofra](https://github.com/kirillzhosul/gofra) is distributed as single Python-based toolchain. To install:\n\n```bash\npip install gofra\ngofra --help\n```\n\n\n## More information and next steps\n\nPlease refer to actual [Documentation](https://kirillzhosul.github.io/gofra)!",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Stack-based compiled programming language",
    "version": "0.0.5",
    "project_urls": {
        "Documentation": "https://kirillzhosul.github.io/gofra"
    },
    "split_keywords": [
        "compiler",
        " language"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c3fe102d10c5943362d8c596f182dbbd1d22bd52fb4eceb9ad678a4edc40dd5f",
                "md5": "d431f85025854aafdb54dbf146720ddd",
                "sha256": "1b88e1a3fea195836d77e0ec1a74e5f05940b343ffa05a7b24934433b7dd35be"
            },
            "downloads": -1,
            "filename": "gofra-0.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d431f85025854aafdb54dbf146720ddd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.12",
            "size": 79410,
            "upload_time": "2025-08-27T14:46:19",
            "upload_time_iso_8601": "2025-08-27T14:46:19.619024Z",
            "url": "https://files.pythonhosted.org/packages/c3/fe/102d10c5943362d8c596f182dbbd1d22bd52fb4eceb9ad678a4edc40dd5f/gofra-0.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1ba702362af42bc30abe5cba4e214522caa3689da7949adc19d68f8e9bfc0309",
                "md5": "aa2ef16dc18b7a06eacf51afbf664a6d",
                "sha256": "e367c25037840d30c34a8592b64bc97f31d6085e86c5dbf002c365c19a9e2cdd"
            },
            "downloads": -1,
            "filename": "gofra-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "aa2ef16dc18b7a06eacf51afbf664a6d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.12",
            "size": 44897,
            "upload_time": "2025-08-27T14:46:21",
            "upload_time_iso_8601": "2025-08-27T14:46:21.100324Z",
            "url": "https://files.pythonhosted.org/packages/1b/a7/02362af42bc30abe5cba4e214522caa3689da7949adc19d68f8e9bfc0309/gofra-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-27 14:46:21",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "gofra"
}
        
Elapsed time: 0.50946s