gccrs icon indicating copy to clipboard operation
gccrs copied to clipboard

Add mini standard library.

Open P-E-P opened this issue 1 year ago • 5 comments

Add a new mini standard library with standard type. This is intended to change and be later replaced with the real standard library.

P-E-P avatar Apr 19 '24 18:04 P-E-P

Compile time is awful and it lacks a bunch of things.

P-E-P avatar Apr 19 '24 18:04 P-E-P

Also, we can't even make modules because there is a bug during typechecking with modules. Will open an issue later with a minimized example.

P-E-P avatar Apr 19 '24 18:04 P-E-P

IIUC, this is mostly some copy/paste + adjustment from rustc's libstd? We should probably have matching copyright/license info ?

dkm avatar Apr 22 '24 08:04 dkm

IIUC, this is mostly some copy/paste + adjustment from rustc's libstd? We should probably have matching copyright/license info ?

I was wondering what should be the appropriate header. It has mostly been copied from rust standard library with some minor adjustments to make crab1 happy. Probably the original license ?

P-E-P avatar Apr 22 '24 13:04 P-E-P

IIUC, this is mostly some copy/paste + adjustment from rustc's libstd? We should probably have matching copyright/license info ?

I was wondering what should be the appropriate header. It has mostly been copied from rust standard library with some minor adjustments to make crab1 happy. Probably the original license ?

Maybe add the first part of https://github.com/rust-lang/rust/blob/master/COPYRIGHT in the header. Not sure where to put MIT/APACHE text, but there must be similar case in GCC already

dkm avatar Apr 24 '24 15:04 dkm