jcoplien / trygve

The trygve language project - Building a DCI-centric language from the ground up
GNU General Public License v2.0
104 stars 15 forks source link

Page 9 of the tutorial (trygve ground zero) the example does not parse!? #117

Closed keithy closed 2 years ago

keithy commented 6 years ago

Page 9 of the tutorial (trygve ground zero) the example does not parse!?

        int a, b
    a = 1, b = 1
    System.out.println(a == b)

K.

jcoplien commented 6 years ago

Ah, yes, lots of sloppiness here on my part. First, this is just a code snippet and, second, the snippet has a syntax error. Properly written, it is like this:

{ int a, b a = 1; b = 2 System.out.println(a == b) }

Thanks for writing and in general for taking the time. I’ll fix the documentation straightaway, in Version 3.16.

— Cope

Den 8. feb. 2018 kl. 22.56 skrev Keith notifications@github.com:

Page 9 of the tutorial (trygve ground zero) the example does not parse!?

    int a, b

a = 1, b = 1 System.out.println(a == b) K.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jcoplien/trygve/issues/117, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4AqucpWW7vNB0Bh_sKl8ndGP7g78NNks5tS22rgaJpZM4R_Fnx.

jcoplien commented 6 years ago

Fixed. Good to go with you, keithy?

jcoplien commented 2 years ago

No further activity; presume to be fixed.