PLDB
Languages Features Creators Calendar CSV Resources Blog About Donate Add Language
GitHub icon

Octals

< >
Example from Java, AspectJ, Pizza, Deesel:
// 0[0-7_]+[lL]?
// 0[oO]?[0-7]+n? 0o464063622
Example from Python:
# 0[oO](?:_?[0-7])+
Example from Perl:
# 0_?[0-7]+(_[0-7]+)*
Example from Go:
// 0[0-7]+
Example from Swift:
// 0o[0-7_]+
Example from Haskell:
-- 0[oO]_*[0-7](_*[0-7])*
Example from Prolog, CLPR, GAEA, Progol:
% 0o[0-7]+
Example from Elixir:
# 0o[0-7]+
Example from Julia:
# 0o[0-7]+((_[0-7]+)+)?
Example from Verilog:
// ([0-9]+)|(\'o)[0-7]+
Example from Reason:
// 0[oO][0-7][0-7_]*
Example from F#:
// 0[oO][0-7][0-7_]*[uU]?[yslLn]?
Example from Eiffel:
-- 0[cC][0-7]+
Example from D:
// 0[0-7_]+
Example from VHDL:
-- O"[0-7_]+"
Example from PostScript:
% [0-9]+\#(\-|\+)?([0-9]+\.?|[0-9]*\.[0-9]+|[0-9]+\.[0-9]*)((e|E)[0-9]+)?(?=[()<>\[\]{}/%\s])
Example from Chapel:
// 0[oO][0-7]+
Example from Protocol Buffers:
// 0[0-7]+[LlUu]*
Example from AutoIt, AutoHotkey:
; 0\d+
Example from Hy:
; 0[0-7]+j?
Example from Boo:
# 0\d+
Example from SystemVerilog:
// ([1-9][_0-9]*)?\s*\'[sS]?[oO]\s*[xXzZ?0-7][_xXzZ?0-7]*
Example from C3:
0o177
Example from Golo:
# 0[0-7]+j?
Example from Felix:
// 0[0-7_]+([tTsSiIlLvV]|ll|LL|([iIuU])(8|16|32|64))?
Example from Jule:
0455

Languages with Octals include Java, JavaScript, Python, Perl, Go, Swift, Haskell, TypeScript, Prolog, Elixir, Julia, Verilog, Reason, F#, OCaml, Eiffel, D, VHDL, PostScript, Chapel, Protocol Buffers, Coq, AutoIt, Zig, Hy, IDL, Boo, F*, SystemVerilog, Opa, Cython, Isabelle, C3, Puppet, AutoHotkey, AspectJ, Golo, SourcePawn, HLSL, GLSL, Felix, Jule, Pizza, Cryptol, ooc, Meson, Logtalk, Earl Grey, Pawn, FloScript, CLPR, nimrod, CBOR data definition language, Deesel, GAEA, Static Typescript, Progol

Languages without Octals include progsbase

Read more about Octals on the web: 1.

HTML of this page generated by Features.ts

hasNull.html 路 hasOctals.html 路 hasOperatorOverloading.html

View source

PLDB - Build the next great programming language Search v2023 Day 157 Docs Acknowledgements Traffic Today Traffic Trends Mirrors GitHub feedback@pldb.com