0001以下、5ちゃんねるからVIPがお送りします
2023/08/21(月) 21:18:20.379ID:HDFzB/VR0非負整数はintで表す
predefined_type:
i8, i16, …, u64, f32, f64
user_defined_type:
id
user_defined_higher_order_type:
user_defined_type
user_defined_type < type >
type:
predefined_type
user_defined_higher_order_type
tuple_type
list_type
reference_type
# 関数ポインタとかどうしよ
tuple_type_content1:
type
tuple_type_content , type
tuple_type_content2:
type , tuple_type_content1
tuple_type_content1 ,
tuple_type:
( tuple_type_content2 )
list_type:
[ type ; int ]
reference_type:
& type
&mut type