Starting my own hobby language (again)

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ส.ค. 2024

ความคิดเห็น • 39

  • @Amejonah
    @Amejonah ปีที่แล้ว +14

    YAY! \o/
    I would really love to see a series out on how to make IRs, Name Resolution, Scopes, Desugaring, Linting, CST vs AST, LSP, Compilation... 🙏

    • @jacobusburger
      @jacobusburger ปีที่แล้ว +2

      I second this. A video series going over language design and development would be really cool.

    • @LarryGarfieldCrell
      @LarryGarfieldCrell ปีที่แล้ว +2

      I would watch the hell out of that. Most tutorials go as far as "Yay, you parsed adding 2 ints" and stop, which is far short of useful.

  • @ch1n3du3
    @ch1n3du3 ปีที่แล้ว +10

    i love this, was always interested in you covering Rio

    • @contextfree
      @contextfree  ปีที่แล้ว +2

      Plans keep changing subtly over time, but I'm trying to commit to not rebooting again after this most recent reboot.

  • @danielchincoyarodriguez9532
    @danielchincoyarodriguez9532 ปีที่แล้ว +4

    I hope you can continue working on your language! You always have interesting insights about languages, I trust you could create an equally interesting discussion about design choices while creating this language.

  • @gregorywalker1333
    @gregorywalker1333 11 หลายเดือนก่อน +2

    best programming language channel

  • @gideonunger7284
    @gideonunger7284 ปีที่แล้ว +11

    LETS GOOOOOO

    • @contextfree
      @contextfree  ปีที่แล้ว +9

      You'd like to see me keep working on this project, then?

    • @gideonunger7284
      @gideonunger7284 ปีที่แล้ว +5

      @@contextfree oh for sure. Someone I know (Mario Zeichner original creator of libgdx) recently started working on his own language too and it's suspiciously close to what I was experimenting with. Following what people come up with is always a lot of fun ^^
      Especially since he had some of the same issues and revelations I had haha

  • @kurt7020
    @kurt7020 ปีที่แล้ว +5

    Job requires 5 + years experience in Rio.

  • @officebatman9411
    @officebatman9411 ปีที่แล้ว +1

    Keep working on your language! I'll be very happy to see more
    There is just not enough PL content as good as yours!

  • @torarinvik4920
    @torarinvik4920 10 หลายเดือนก่อน +1

    Awesome!

  • @cramble
    @cramble ปีที่แล้ว +1

    Context Free. Nod is close to the Welsh word "Nôd"(pronounced like how you said "nod" but the "o" is longer) that means "note"(both note as in to take notes and note as in a musical note).

  • @kaustubhken
    @kaustubhken ปีที่แล้ว +7

    Please please please make video on ada programming language

    • @eldyj
      @eldyj ปีที่แล้ว +1

      someone still interested in this "ugly pascal" fork?

    • @kaustubhken
      @kaustubhken ปีที่แล้ว +1

      @@eldyj it's not ugly it's used in airplanes ships missles electric equipments military and it's strongly type very less chance of getting errors

    • @contextfree
      @contextfree  ปีที่แล้ว +2

      I find Ada interesting. I'll probably cover it some at some point.

    • @pnr
      @pnr ปีที่แล้ว +1

      ​@@contextfreeAlso some Ada/SPARK please. Especially what makes it suitable for software reliability.

    • @eldyj
      @eldyj ปีที่แล้ว +1

      @@kaustubhken i meant ada is not that bad, but pascal sythax is totally not for me

  • @stevenhe3462
    @stevenhe3462 ปีที่แล้ว +1

    Beware of stack overflow using recursion for parsing! Rust does not do tail-call optimization deterministically.

  • @samuelschwager
    @samuelschwager ปีที่แล้ว +3

    Nod? Kane lives in death!

    • @contextfree
      @contextfree  ปีที่แล้ว

      Didn't know that one, I have to admit.

  • @Dominik-K
    @Dominik-K ปีที่แล้ว +1

    Oh this sounds super amazing

  • @solomspd
    @solomspd 11 หลายเดือนก่อน +1

    I'd like to ask why you opted you use string interning? is there a reason beyond simply maintaining references to 32 bits? Am I reading this correctly, that the keys of the hashmap could have also been used to look up the values instead of the interner?

    • @contextfree
      @contextfree  11 หลายเดือนก่อน

      The interning allows for consistent 32 bits yeah. It also allows for fast string equality comparison. On the hashmap, are you talking about in the resolver? In that case, I'm more concerned with looking up the local id inside the module and the node where it's defined.

  • @SabeDoesThingsChannel
    @SabeDoesThingsChannel ปีที่แล้ว +2

    hey I am also making a programming language in rust. nice

  • @dibyojyotibhattacherjee4279
    @dibyojyotibhattacherjee4279 11 หลายเดือนก่อน +1

    Why no more c++ videos?

    • @contextfree
      @contextfree  11 หลายเดือนก่อน +1

      I just go with my mood, but some c++23 might be fun. I'll think about it.

  • @ntgrv
    @ntgrv ปีที่แล้ว +2

    How does subtraction work, since you allow "-" in identifiers?

    • @contextfree
      @contextfree  ปีที่แล้ว +2

      Currently planning to require whitespace around subtraction (and other operators). It's a hobby language, so I can have fun exploring ideas in both semantics and syntax.

    • @stevenhe3462
      @stevenhe3462 ปีที่แล้ว +1

      @@contextfree Yes, just enforce whitespace around them. Also solves style issues.

  • @rcookman
    @rcookman ปีที่แล้ว +1

    Can it be run/compiled?

    • @contextfree
      @contextfree  ปีที่แล้ว +1

      Not yet. I plan a combo macro/type-inferencer/interpreter/etc system that might as well serve as an ordinary interpreter as well, but my main use case is to compile to wasm. Just not there yet.

    • @rcookman
      @rcookman ปีที่แล้ว +1

      Thanks, just thought i'd ask.@@contextfree

    • @contextfree
      @contextfree  ปีที่แล้ว

      No problem. Thanks for asking!

  • @albertslepak7963
    @albertslepak7963 ปีที่แล้ว +2

    First comment :)

  • @khanra17
    @khanra17 ปีที่แล้ว +1

    Intersting topic but
    Poorly made video

    • @contextfree
      @contextfree  ปีที่แล้ว

      Yeah, my mic was having problems. Do you have any other specific concerns with it? I like to hear feedback from viewers.