~repos /plum

#treesitter#compiler#wasm

git clone https://pyrossh.dev/repos/plum.git

A statically typed, imperative programming language inspired by rust, python



tooling/tree-sitter-plum/test/corpus/enum.txt



================================================================================
enum
================================================================================
enum Bool =
| True
| False
toStr<Bool>() -> Str =
"Bool"
--------------------------------------------------------------------------------
(source
(enum
(type_identifier)
(field
(type_identifier))
(field
(type_identifier)))
(fn
(fn_identifier)
(type
(type_identifier))
(return_type
(type_identifier))
(body
(primary_expression
(string
(string_start)
(string_content)
(string_end))))))