Closed C-BJ closed 1 year ago
The reason lib is in erg_compiler is because erg_compiler is a standalone crate that depends on lib. els is not relevant.
Yes, I know. But since els is moved to erg, is it not necessary to include the lib in erg_compiler?
If change the location of lib, is there any problem? @mtshiba
cargo install erg_compiler
must work properly. Means lib must be installed.
I don't know if cargo allows specifying resources like ../../
. Is this allowed?
cargo install erg_compiler
must work properly. Means lib must be installed.I don't know if cargo allows specifying resources like
../../
. Is this allowed?
I'll go and see.
btw, Do you think the name of the compiler folder in the root directory should be changed, such as core. Because it includes els and maybe other things in the future
I'm considering renaming the compiler
directory to something like crates
.
yeah, great
But after rewriting it with erg, isn't it a strange name
Renaming the directory is a trivial matter, as it would be a massive change if Erg were to be rewritten by itself.
yeah
I think I've done it @mtshiba
I don't know how to test
I tried to publish erg_compiler
.
After all, it seems that such a specification is not possible.
couldn't read build.rs: The specified file could not be found
Same result.
How about making a small dummy crate to test it out?
ok
Since els is integrated into the erg, lib is no longer needed as a dependency, so you can move lib to where it should be
@mtshiba