Civilloquy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Otter@lemmy.ca to Programming@programming.devEnglish · 1 year ago

Amber - the programming language compiled to Bash

amber-lang.com

external-link
message-square
16
fedilink
  • cross-posted to:
  • programming@programming.dev
72
external-link

Amber - the programming language compiled to Bash

amber-lang.com

Otter@lemmy.ca to Programming@programming.devEnglish · 1 year ago
message-square
16
fedilink
  • cross-posted to:
  • programming@programming.dev
Amber The Programming Language
amber-lang.com
external-link
Amber The Programming Language
alert-triangle
You must log in or register to comment.
  • einlander@lemmy.world
    link
    fedilink
    arrow-up
    34
    arrow-down
    1
    ·
    1 year ago

    Whoa Black Betty, Amber-Lang.

  • VubDapple@lemmy.world
    link
    fedilink
    arrow-up
    24
    ·
    1 year ago

    Why?

    • Otter@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      21
      ·
      1 year ago

      I think it’s to make it easier to write bash scripts, for those who are new or when the script is doing a more critical task

      Modern Syntax

      You will find many of the language features familiar, allowing you to get up and running much faster than if you were learning Bash from scratch.

      Runtime Safety

      It’s one of the key components missing from regular shell scripts. It can help you catch many bugs at compile time.

      Type Safety

      Amber ensures that you handle everything that could fail. Each Bash command and function that could fail must be handled in some way.

      • VubDapple@lemmy.world
        link
        fedilink
        arrow-up
        9
        arrow-down
        2
        ·
        1 year ago

        Ok, I guess that makes sense. Bash is a pretty old school language for those raised in the functional programming era

  • deathmetal27@lemmy.world
    link
    fedilink
    arrow-up
    21
    ·
    1 year ago

    So basically the TypeScript of bash.

  • wargreymon2023@sopuli.xyz
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    Don’t like it one bit

    If bash is hard to program, get away with it, not build atop of it.

    • laughterlaughter@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      1 year ago

      I like the concept…

      • wargreymon2023@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        arrow-down
        3
        ·
        1 year ago

        okay but the author has to write it, why not write something useful open source?

        • furikuri@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          For fun or to play around with transpilers?

  • thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Was posted a few hours before and has many comments: https://beehaw.org/post/13943043

  • Unpigged@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    There’s babashka, why?

    • MachineFab812@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      We need a way to watch for replies to comments without commenting ourselves… (not an answer to your question, sorry)

      • Unpigged@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I mean, my comment isn’t really meaningful either so, touche, Internet stranger.

        • MachineFab812@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          No, I meant I was following your comment, as I am interested in the answer to your question.

  • smileyhead@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    When JavaScript developer starts writing a Linux script.

  • aluminium@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I mean if you want a shell language that behaves more like a regular programming language, PowerShell core is a thing.

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 92 users / day
  • 441 users / week
  • 2.28K users / month
  • 5.63K users / 6 months
  • 1 local subscriber
  • 20.1K subscribers
  • 1.97K Posts
  • 23K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org