public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
From: "Carlos Maniero" <carlos@maniero.me>
To: "Carlos Maniero" <carlos@maniero.me>,
	<~johnnyrichard/olang-devel@lists.sr.ht>
Subject: Re: [PATCH olang v2 0/2] docs: variables specification
Date: Mon, 08 Apr 2024 08:35:21 -0300	[thread overview]
Message-ID: <D0EPKGVEFNH2.761W1LD6OUSW@maniero.me> (raw)
In-Reply-To: <20240408043816.3781049-1-carlos@maniero.me>

I forgot to mention, but V1 was also allowing assignments on
external-declaration. ex:

  var x: u32
  x = 1

  fn main(): u32 {
    return x
  }

But, external-declarations should not allow statements, only
declarations/definitions.

  parent reply	other threads:[~2024-04-08 11:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-08  4:38 Carlos Maniero
2024-04-08  4:38 ` [PATCH olang v2 1/2] docs: spec: rename program to translation-unit Carlos Maniero
2024-04-08  4:38 ` [PATCH olang v2 2/2] docs: spec: add variables and constants specification Carlos Maniero
2024-04-08  4:39   ` [olang/patches/.build.yml] build success builds.sr.ht
2024-04-08 11:35 ` Carlos Maniero [this message]
2024-04-10  7:50 ` [PATCH olang v2 0/2] docs: variables specification Johnny Richard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D0EPKGVEFNH2.761W1LD6OUSW@maniero.me \
    --to=carlos@maniero.me \
    --cc=~johnnyrichard/olang-devel@lists.sr.ht \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.johnnyrichard.com/olang.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox