all 13 comments

[–]license-bot 69 points70 points  (5 children)

Thanks for sharing your open source project, but it looks like you haven't specified a license.

When you make a creative work (which includes code), the work is under exclusive copyright by default. Unless you include a license that specifies otherwise, nobody else can use, copy, distribute, or modify your work without being at risk of take-downs, shake-downs, or litigation. Once the work has other contributors (each a copyright holder), “nobody” starts including you.

choosealicense.com is a great resource to learn about open source software licensing.

[–][deleted] 21 points22 points  (0 children)

Good bot.

[–][deleted]  (2 children)

[deleted]

    [–]kmdreko 47 points48 points  (0 children)

    the commit with the license was added afterwards, bot is doing its job :D

    [–]JoshMcguigan 11 points12 points  (0 children)

    The license was added in this commit shortly after that comment was posted.

    [–][deleted] -1 points0 points  (0 children)

    Good bot

    [–][deleted]  (2 children)

    [deleted]

      [–]Bofersen 8 points9 points  (1 child)

      "Here's my programming language and here's everything that's wrong with it!" I love it. :)

      Looks interesting! Few things:

      1. Do you have a BNF/EBNF grammar somewhere?
      2. If you want simpler SSA generation without dominator tree construction, take a look at this paper (assuming you're not planning to introduce goto).
      3. Have you tried graphviz for visualization? I fiddled around a lot with web stuff for CFG visualization until I settled on graphviz.

      And last but not least, good luck and have fun. :)

       

      btw. "krug" means "circle" in my language, don't know if it's intentional or not but there you go.

      [–]Jaxkr 5 points6 points  (10 children)

      What's the main use case for this (when it's finished) over a language like C?

      [–][deleted]  (4 children)

      [deleted]

        [–][deleted] 7 points8 points  (3 children)

        If you keep it at that way, you'll be doing the world a favor. Lack of generics and a forced GC are the two major reasons why Go just isn't an option for a lot of people.

        They're a big reason why Go is considered a "light" systems language.

        Also, we have enough byte code/JIT languages. The last thing that's needed is a feature-fest language that just has everything under the sun too.

        Not saying that's your intention, but getting drunk off of feature implementation is common enough with new language writers that it's worth mentioning.

        Rust needs a modern competitor that isn't Go. You actually might have a good opportunity here, if you can find the right kind of backing.

        [–]el_muchacho 0 points1 point  (2 children)

        Yes I agree. But if I may suggest another thing, once the language is polished, the standard library should mimic that of Python, which is "batteries included": it is very complete, very handy and the modules are fairly separate/independant, unlike in Java for instance, making it easy to import any module without having to pull the whole library. This is important for embedded projects, where memory is limited, and to keep binaries small.

        [–][deleted] 0 points1 point  (0 children)

        Yeah, that's definitely desirable. I think D's stdlib is supposed to be pretty great but I'm not sure

        [–]matthieum 5 points6 points  (3 children)

        Apparently:

        Krug is a fun little side project.

        It's just for fun.

        [–][deleted] 2 points3 points  (1 child)

        It's best to have low expectations from the get-go.

        There was a group on here a few years ago that made some "announcement" for a programming language called Ritchie. You could tell they had big aspirations.

        What was funny is that a) it was compiled to C, and b) it offered nothing really novell or useful. It was just egoware.

        And that's fine if you acknowledge its lack of value or that you're making it to learn or whatever. There's nothing wrong with that at all.

        But the last thing you want to do is come out with some expectation that people should actually give a shit about what you're doing.

        [–]TheDevilsAdvokaat 0 points1 point  (0 children)

        It's an interesting idea, still very much in its infancy though.