Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 624 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 624 Bytes

JavaScript

Implementation for data types:

  • Bool — represented as boolean.
  • Int32 — represented as integer number.
  • Int64 — represented as integer number.
  • Float32 — represented as floating point number.
  • Float64 — represented as floating point number.
  • String — represented as string.
  • Option<T> — represented as T | null.
  • Map<K, V> — represented as Map.
  • Struct — represented as a regular class.
  • Enum — represented as a class with static instances for each variant.
  • OneOf — represented as an abstract class with each variant inheriting from it.