Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fundamentals to Declarations [Draft] #4894

Open
wants to merge 89 commits into
base: docs-restructure
Choose a base branch
from

Conversation

Demali-876
Copy link

This pull request contains a draft for the following

Fundamentals
Basic syntax
Integers
Floats
Characters
Text
Literals
Whitespace
Comments
Keywords
Identifiers

Operators
Unary operators
Relational operators
Numeric binary operators
Bitwise and wrapping binary operators
Text operators
Assignment operators
Operator and keyword precedence
Pipes

I will have team review it here and i will then move it in to the separate files respectively. let me know what you think

Demali-876 and others added 9 commits February 4, 2025 20:25
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
@Demali-876 Demali-876 requested a review from a team as a code owner February 7, 2025 06:47
doc/md/fundamentals/basic-syntax/comments.md Show resolved Hide resolved
doc/md/fundamentals/basic-syntax/floats.md Show resolved Hide resolved
doc/md/fundamentals/basic-syntax/imports.md Outdated Show resolved Hide resolved
doc/md/fundamentals/expressions/operators.md Outdated Show resolved Hide resolved
doc/md/getting-started.md Outdated Show resolved Hide resolved
doc/md/getting-started.md Outdated Show resolved Hide resolved
doc/md/meet-motoko.md Outdated Show resolved Hide resolved
doc/md/meet-motoko.md Outdated Show resolved Hide resolved
Demali-876 and others added 13 commits February 8, 2025 09:31
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
doc/md/fundamentals/expressions/control-flow/block.md Outdated Show resolved Hide resolved
}
```

- The function body is a block expression: `{ let sum = x + y; sum }`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make these comments in the code rather than statements after the example

}
```

- The block contains an `if-else` structure.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make these comments in the code rather than statements after the example

};
```

- The block is evaluated as an expression.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make these comments in the code rather than statements after the example

doc/md/fundamentals/expressions/control-flow/variant.md Outdated Show resolved Hide resolved
doc/md/fundamentals/expressions/control-flow/variant.md Outdated Show resolved Hide resolved
doc/md/fundamentals/expressions/control-flow/variant.md Outdated Show resolved Hide resolved
doc/md/fundamentals/expressions/control-flow/variant.md Outdated Show resolved Hide resolved
doc/md/fundamentals/expressions/control-flow/variant.md Outdated Show resolved Hide resolved
Demali-876 and others added 25 commits February 18, 2025 20:04
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
…ts.md

Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
…ts.md

Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
…ts.md

Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Co-authored-by: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
@Demali-876
Copy link
Author

Committed the suggestions and moved the snippets to the comments.

@Demali-876 Demali-876 changed the title Fundamentals to Pipes [Draft] Fundamentals to Declarations [Draft] Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants