Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

정수형 개선 로드맵 #10

Open
RanolP opened this issue Nov 1, 2023 · 0 comments
Open

정수형 개선 로드맵 #10

RanolP opened this issue Nov 1, 2023 · 0 comments

Comments

@RanolP
Copy link
Member

RanolP commented Nov 1, 2023

초반에는 i32, i64 위주로 구현

i32, i64 외의 다른 타입 지원

i8, i16, i128
u8, u16, u32, u64, u128

리터럴 및 user defined literal 구현

3, 0x1A, 0o123, 0b1010, 3i32 등등

extern type 정의를 prelude.psl에 넣어서 타입 체크

현재 int, int64_t 등의 C 타입 접근 안 막고 있음

i32::max, i32::abs, i32::wrapping_add 등 stdlib 추가

일단 함수, 모듈, impl 등이 구현되어야 함

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant