Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
L LangOptum
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Nuclaer
  • LangOptum
  • Wiki
  • Operator Notes

Operator Notes · Changes

Page history
Update Operator Notes authored Mar 08, 2020 by Nuclaer's avatar Nuclaer
Hide whitespace changes
Inline Side-by-side
Showing with 7 additions and 1 deletion
+7 -1
  • Operator-Notes.md Operator-Notes.md +7 -1
  • No files found.
Operator-Notes.md
View page @ 2c061660
# C compatibility
All C operators are part of the lo specification with the exception of post-increment, post-decrement, and redirection operators.
Redirection operator (`a->b`) should be replaced with member operator (`a.b`), as lo exclusively uses pointers for objects. There are no structs, just use a class without any functions.
AFAIK the operator precedence is identical to C except `&`, `|`, and `^` are prioritized over `&&`, `||`, `==`, and all other boolean operators.
\ No newline at end of file
AFAIK the operator precedence is identical to C except `&`, `|`, and `^` are prioritized over `&&`, `||`, `==`, and all other boolean operators.
# New operators (not in C)
`^^` was added as a boolean XOR.
\ No newline at end of file
Clone repository
  • Builtins
  • Compiler Mechanics
  • Compiler Structure
  • Desired Builtin Libraries
  • File Inclusion
  • Home
  • OOP
  • Operator Notes
  • Preprocessor
  • Program Control
  • Variable Types
  • language
  • lort (LO RunTime)