Giter Club home page Giter Club logo

badlang's Introduction

BadLang™ - The future of programming

docs.rs Crates.io Downloads (latest version) GitHub code size in bytes GitHub Repo stars Crates.io Version Fortnite Balls Build Status X (formerly Twitter) Follow Instagram URL

BadLang™ Logo

This language isn't just the next trend - it's the future. You've heard of "Rewrite it in Rust". Soon you will hear "Rewrite it in BadLang™" (The ™ is pronounced).

This language features the newest paradigm: Stack-based programming. You've heard of imperative, you've heard of functional, but have you heard of stack-based? It was established in 1970 by the Forth language, so probably not.

Installation

Sane operating systems

cargo install badlang

Alternatively, if you have cargo-binstall installed you can instead use:

cargo binstall badlang

Windows

Since Windows refuses to correctly work if downloaded as provided above, you have to build from source:

git clone https://github.com/gianzellweger/badlang/
cd badlang
cargo run

BadLang™ is (officially) supported on MacOS, GNU+Linux and Windows (somewhat)

Examples

Basic example

This programming language is stack based:

69 drop

This revolutionary blazingly fast example shows the grace of stack-based programming.


Hello world

See this file.


Addition

Addition is where this programming language really shines! We can add two, even three numbers! Bet your C can't do that!

34 35 + print

Or with three numbers:

20 23 26 + + print

Comments

You can start a comment using comment and stop it using no_comment.

Contributing

If you want to contribute, you can either do so financially or read the Contributing Guidelines

Etymology

The name "BadLang™" actually stands for "Badass Language", because that's what it is.

badlang's People

Contributors

dependabot[bot] avatar gianzellweger avatar

Stargazers

 avatar

Watchers

 avatar

badlang's Issues

Roadmap (dynamically changing)

Features:

  • Updates
  • Account
  • Trial/Subscription System
  • Server outages
  • Required Internet
  • Location services
  • Ads
  • Mailing List
  • Cookies
  • TOS
  • Dependency Spam
  • Popup-Video
  • CI/CD instead of deploying from some shitty laptop
  • Begging for GitHub stars
  • Annoying pop-ups asking for all kinds of permissions.
  • Flashier presence
    • Website ending in .dev
    • Social Media
    • Github things (actually called shields)
  • #21
  • More password restrictions (much like password game)
  • Make usernames a little more restrictive
  • Compare the password to check if it contains one of the top 10^x passwords. (4≤x≤6)
  • Actually improve the language

Before next release (actually whenever I feel like it):

Long term:

  • Video player on more platforms
  • More AI
  • Working subscriptions
  • Working mailing list
  • Working location services
  • Maybe actually improve the website
  • Fake download buttons somehow
  • Useless AI chatbot
  • Language server

Test on Windows

From testing on Windows, I learned some things which need to be improved/added:

  • Tauri logos so no logs are generated
  • Slow down the video player
  • Check every time a let _ = ... is used because it can lead to mean bugs

Apart from that and it not working when installed through cargo install it works shockingly well.

Impossible captcha

This is a checklist/collection for captcha ideas:

  • Captchas provided by the captcha crate in three difficulties
  • Audio captcha also by the captcha crate
  • reCaptcha by Google (not in english)
  • Possibly "beauty check" using camera via nokhwa (no beauty will be checked, just checked whether the average pixel is above a certain threshold)
  • Complex math equation
  • Connect everything to the main application

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.