Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Comment literal #1

Open
orhnk opened this issue Oct 15, 2023 · 0 comments
Open

Comment literal #1

orhnk opened this issue Oct 15, 2023 · 0 comments
Labels
core::syntax about Merge's syntax help wanted Extra attention is needed

Comments

@orhnk
Copy link
Owner

orhnk commented Oct 15, 2023

Comments

TLDR

Looking for a concise way to implement comments.

I think...

My initial idea is to use # as single-line comment:

[pour] -> [scoop] # means: [var_sending_to_python] -> [var_pulling_from_python]
python! {
   print("[Python]:", scoop)
   var_pulling_from_python = 10
}

Note

I don't think merge-lang includes anything that'll make multi-line comment crucial

Purpose of this thread

  • Should merge use comments?
    • if yes, What literal should merge use? (;, //, --, <!--, /* */, --[ ], <!-- -->)
    • if no, Why?
@orhnk orhnk added help wanted Extra attention is needed core::syntax about Merge's syntax labels Oct 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
core::syntax about Merge's syntax help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant