2 comments

  • Santiago-Lopez 8 hours ago ago

    Hi HN!

    This is my new programming language, Parlan, with a simple philosophy:

    - parlan is not trying to be the next "X-language killer". - parlan is not trying to be the next standard to write software. - parlan just exists, if you want to use it, great! if not, that totally cool too.

    i'm currently searching feedback about my syntax and/or my implementation.

    The compiler is currently written in Rust, and transpiles to C.

    Thank you in advance!

    • Santiago-Lopez 6 hours ago ago

      This is a simple example program in Parlan:

        extern func printf(fmt: str, ...): int;
        
        func main(): int {
          var x = 45;
          var i = 0;
          while i < 10 {
            printf("x * i = %d\n", x * i);
            i = i + 1;
          }
          
          return 0;
        }