A blazinlgy fast πŸš€ transpiler written in rust πŸ¦€ that fixes (pun intended) your problems

Overview

Pissfix πŸš€

Pissfix is a blazingly fast πŸš€ programming language that transpiles to a "interesting" and not well known programming language called "Postfix". Postfix is a stack-based language that uses reverse Polish notation to express arithmetic expressions. Pissfix allows you to write code in a more intuitive and readable way πŸ’β€β™€οΈπŸ‘Œ.

Pissfix is written in Rust πŸ¦€, which is also blazing fast πŸš€ and memory safe πŸ”’πŸ’Ύ.
The transpilation time on a medium sized program just takes a few microseconds πŸš€πŸš€πŸ˜±.
Pissfix is an amazing language ✨ with tons of upsides, such as:

  • Easy to learn and use πŸ§ΎπŸ” 
  • Compatible with any platform that supports Postfix πŸ’»πŸŒŽβœ…
  • Supports functions, anonymous functions, variables, loops, and conditional statements πŸ’­
  • Has a rich set of built-in operators and functions πŸ’°πŸ…±
  • Allows comments that carry over to postfix πŸ’¬βž‘οΈπŸ“
  • We do what's right1 πŸ˜ŽπŸ‘‰πŸš€

Example

Here is an example of how to write a function that computes the factorial of a given number in Pissfix:

fun factorial(n: Int) -> Int {
    product = 1
    while n != 0 {
        product *= n # This does the thing
        n -= 1
    }
    product
}

The transpiled Postfix code would look like this:

:factorial(n :Int -> :Int) {
    1 product!
    {
        n 0 !=
        not breakif
        product n
        * # This does the thing
        product!
        n 1 -
        n!
    } loop
    product
} fun

As you can see, Pissfix code is much more readable and concise than Postfix code 😊.

Usage

To transpile a Pissfix file to a Postfix file, you can use the following command:

cargo run --release -- input.piss -o out.pf

Contributing

Pissfix is an open source project and welcomes contributions from anyone who is interested. You can report issues, suggest features, or submit pull requests on the github repository.

License

Pissfix is licensed under the GNU GPL v3.0 License.

Footnotes

  1. Pissfix uses right-to-left associativity. This means that a - b + c is the same as a - (b + c), not (a - b) + c ↩

You might also like...
πŸš€ Fast and 100% API compatible postcss replacer, built in Rust

πŸš€ Fast and 100% API compatible postcss replacer, built in Rust

A dead-simple, extreme fast permission flag system for Rust with no dependencies

A dead-simple, extreme fast permission flag system for Rust with no dependencies

πŸš€ Fleet is the blazing fast build tool for Rust
πŸš€ Fleet is the blazing fast build tool for Rust

Fleet is the blazing fast build tool for Rust. Compiling with Fleet is up-to 5x faster than with cargo.

A simple, fast and fully-typed JSPaste API wrapper for Rust

rspaste A simple, fast and fully-typed JSPaste API wrapper for Rust. aidak.tk Β» Installation Put the desired version of the crate into the dependencie

A fast & light weight Discord Client made with love using the Rust programming language.
A fast & light weight Discord Client made with love using the Rust programming language.

LemonCord A fast & light-weight Discord Client written in Rust using the wry crate. Features Fast, light-weight, easy to use. 100% Open sourced. No su

A fast llama2 decoder in pure Rust.
A fast llama2 decoder in pure Rust.

llama2.rs πŸ€— This is a Rust implementation of Llama2 inference on CPU The goal is to be as fast as possible. It has the following features: Support fo

⚑rustygram is a minimal and blazing fast telegram notification framework for Rust
⚑rustygram is a minimal and blazing fast telegram notification framework for Rust

⚑rustygram ⚑rustygram is a minimal and blazing fast telegram notification framework using Rust. Abstracts away the Telegram API complexity so your app

A stupid macro that compiles and executes Rust and spits the output directly into your Rust code

inline-rust This is a stupid macro inspired by inline-python that compiles and executes Rust and spits the output directly into your Rust code. There

MeiliSearch is a powerful, fast, open-source, easy to use and deploy search engine
MeiliSearch is a powerful, fast, open-source, easy to use and deploy search engine

MeiliSearch is a powerful, fast, open-source, easy to use and deploy search engine. Both searching and indexing are highly customizable. Features such as typo-tolerance, filters, and synonyms are provided out-of-the-box. For more information about features go to our documentation.

Comments
  • Missing Goto and Null

    Missing Goto and Null

    Postfix is a great blazingly fast πŸš€ language, but I noticed it's missing the two best 🌟 and most important πŸ‘ features of modern languages:

    • Goto πŸ‘‰
    • Null πŸ…ΎοΈ

    I am planning to use this language for my next big project (building an nft πŸ–ΌοΈ based drone 🚁) but I just can't use anything without Goto or Null ☹️.

    Please add these amazing 🀩 features as soon as possible so I can use pissfix for all my projects ☺️.

    wontfix 
    opened by GreenOpposite 1
Releases(0.2.0)
  • 0.2.0(Oct 6, 2023)

    PissFix v0.2.0 πŸš€πŸŽ‰

    PissFix is a simple and lightweight Python library that allows you to fix the color of your urine by applying various filters and adjustments. Whether you want to make your pee look more yellow, clear, or even rainbow-colored, PissFix has you covered! 😎

    New Features πŸ†•πŸŽ‰

    • Added a new filter called unicorn that makes your urine sparkle with rainbow colors πŸŒˆπŸ¦„
    • Added a new function called adjust_hue that lets you change the hue of your urine by specifying a value between 0 and 360 🎨
    • Added a new function called adjust_saturation that lets you change the saturation of your urine by specifying a value between 0 and 100 πŸ’¦
    • Added a new function called adjust_brightness that lets you change the brightness of your urine by specifying a value between 0 and 100 πŸ”†

    Bug Fixes βŒπŸ›

    • Fixed a bug that caused the invert filter to crash when applied to an empty image 😱
    • Fixed a bug that caused the blur filter to produce artifacts when applied to an image with high contrast 😡
    • Fixed a bug that caused the grayscale filter to produce incorrect results when applied to an image with alpha channel πŸ˜•

    Installation πŸ”½πŸ’»

    To install PissFix, simply run:

    pip install pissfix
    

    Usage 🚽

    To use PissFix, simply import the library and load an image of your urine:

    import pissfix
    image = pissfix.load_image("urine.jpg")
    

    Then, you can apply any of the available filters or adjustments to your image:

    # Apply the unicorn filter
    image = pissfix.unicorn(image)
    
    # Adjust the hue to 180 (cyan)
    image = pissfix.adjust_hue(image, 180)
    
    # Adjust the saturation to 50 (less saturated)
    image = pissfix.adjust_saturation(image, 50)
    
    # Adjust the brightness to 80 (brighter)
    image = pissfix.adjust_brightness(image, 80)
    

    Finally, you can save your modified image to a file:

    pissfix.save_image(image, "urine_modified.jpg")
    

    Documentation

    For more information on how to use PissFix, please refer to the documentation.

    License πŸ“„

    Pissfix is licensed under the GNU GPL v3.0 License.

    Feedback πŸ’¬

    If you have any questions, suggestions, or issues with PissFix, please feel free to open an issue or submit a pull request on GitHub. We appreciate your feedback!

    Source code(tar.gz)
    Source code(zip)
    pissfix.exe(1.04 MB)
A Huff <> bytecode transpiler

Murph - Transpile EVM bytecode into huff Murph can transpile this: 60003560e01c8063552410771461001c5780632096525514610023575b6004356000555b60005460005

Franfran 53 Feb 17, 2023
A transpiler/compiler for CrabRave, a version of BrainFuck with sea-life emojis.

CrabRave Programming Language CrabRave is a fun and unique programming language based on Brainfuck, which utilizes crab and sea-life emojis as its syn

null 23 May 3, 2023
Cassette A simple, single-future, non-blocking executor intended for building state machines.

Cassette A simple, single-future, non-blocking executor intended for building state machines. Designed to be no-std and embedded friendly. This execut

James Munns 50 Jan 2, 2023
Temp repo to document problems with workers-rs

This is a temporarily repo to share some worker-rs code that is giving me problems. See also: https://github.com/cloudflare/workers-rs/issues/94 Versi

Andrew Chin 0 Dec 6, 2021
A Discord bot focused on addressing the inherent problems with Discord, to allow a more socialist/anarchist organization of servers.

ACABot A Discord bot focused on addressing the inherent problems with Discord, to allow a more socialist/anarchist organization of servers (or "guilds

null 4 May 3, 2022
A little bit fast and modern Ruby version manager written in Rust

A little bit fast and modern Ruby version manager written in Rust Features Pure Rust implementation not using ruby-build Cross-platform support (macOS

Takayuki Maeda 510 Jan 5, 2023
Fast and simple PHP version manager written in rust

[WIP] phpup (PHP-up): Fast and Simple PHP version manager ⚑ Fast and simple PHP version manager, written in rust Features No requirements for system P

null 27 Dec 25, 2022
A blazingly fast πŸ”₯ Discord bot written in Rust

rusty-bot ?? A blazingly fast ?? Discord bot written in Rust. Commands name use !rm <count> deletes old messages !meme <subreddit> sends a random meme

Asandei Stefan 2 Oct 14, 2022
A fast, powerful and configurable interpreter written in Rust

brainfuck-interpreter Overview A fast, powerful and configurable interpreter written in Rust, which allows various options to meet different demends,

Justin Chen 4 Feb 12, 2023
A fast package manager for NodeJS written in Rust.

click A fast package manager for NodeJS written in Rust. How fast? Benchmark of bun vs click clean install: Based on benchmarks done with hyperfine, c

Sam 52 Oct 10, 2023