"Fossies" - the Fresh Open Source Software Archive

Member "ponyc-0.33.0/packages/builtin/platform.pony" (1 Nov 2019, 764 Bytes) of package /linux/misc/ponyc-0.33.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Pony source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 primitive Platform
    2   fun bsd(): Bool => freebsd() or dragonfly() or openbsd()
    3   fun freebsd(): Bool => compile_intrinsic
    4   fun dragonfly(): Bool => compile_intrinsic
    5   fun openbsd(): Bool => compile_intrinsic
    6   fun linux(): Bool => compile_intrinsic
    7   fun osx(): Bool => compile_intrinsic
    8   fun posix(): Bool => bsd() or linux() or osx()
    9   fun windows(): Bool => compile_intrinsic
   10 
   11   fun x86(): Bool => compile_intrinsic
   12   fun arm(): Bool => compile_intrinsic
   13 
   14   fun lp64(): Bool => compile_intrinsic
   15   fun llp64(): Bool => compile_intrinsic
   16   fun ilp32(): Bool => compile_intrinsic
   17 
   18   fun bigendian(): Bool => compile_intrinsic
   19   fun littleendian(): Bool => compile_intrinsic
   20 
   21   fun native128(): Bool => compile_intrinsic
   22   fun debug(): Bool => compile_intrinsic