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

Issues #1

Open
38 of 89 tasks
kawasin73 opened this issue Jan 5, 2019 · 0 comments
Open
38 of 89 tasks

Issues #1

kawasin73 opened this issue Jan 5, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kawasin73
Copy link
Owner

kawasin73 commented Jan 5, 2019

Features

structure

  • ( expression )
  • { statements }
  • { statement expression } ( GNU extension for testing )
  • local variable
  • global variable
  • variable scope
  • define function
  • pre define function
  • function call
  • function call argument check
  • comment //
  • struct
  • typedef
  • extern
  • static

variable type

  • array [1024]
  • multi-dimensions array [4][1024]
  • no size array []
  • pointer *a
  • int
  • unsigned
  • char
  • unsigned char
  • short
  • unsigned short
  • long
  • unsigned long
  • float
  • double
  • sizeof

pointer access

  • array as pointer
  • array operand access []
  • dereference *ptr
  • address &a
  • function pointer

literal

  • string literal "hello"
  • char literal 'c'
  • int literal 123
  • int literal based 8 0777
  • int literal based 16 0xff
  • unsigned number literal 123U
  • long literal 123L
  • float literal 3.14F
  • double literal 12.345
  • array literal {1, 2}
  • struct literal {1, 2}

preprocessor

  • #include

control syntax

  • &&
  • ||
  • if
  • else
  • for
  • break
  • continue
  • do ... while
  • while
  • switch case
  • switch default
  • ? :
  • goto

operand

calc

  • +
  • -
  • *
  • /
  • %

compare

  • ==
  • !=
  • >
  • <
  • >=
  • <=

bit operation

  • &
  • |
  • <<
  • >>

assignment

  • =
  • +=
  • -=
  • *=
  • /=
  • %=
  • &=
  • |=
  • ++
  • --

utility

  • Vector
  • Map
  • StringBuilder

Develop

  • clang-format
@kawasin73 kawasin73 added the enhancement New feature or request label Jan 5, 2019
@kawasin73 kawasin73 self-assigned this Jan 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant