Syntax

This chapter covers the syntax of the Marcel programming language.

Keywords

Marcel has the following keywords, which you cannot use as variable/function/fields names

  • async
  • int
  • dynobj
  • do
  • long
  • short
  • float
  • double
  • bool
  • byte
  • void
  • char
  • fun
  • return
  • true
  • false
  • new
  • import
  • as
  • inline
  • static
  • for
  • in
  • if
  • else
  • null
  • break
  • continue
  • def
  • class
  • extension
  • package
  • extends
  • implements
  • final
  • switch
  • when
  • this
  • super
  • dumbbell
  • try
  • catch
  • finally
  • instanceof
  • throw
  • throws
  • constructor
  • public
  • protected
  • internal
  • private
  • while