epoch-language
epoch-language copied to clipboard
Package/Module support
some form of module/namespacing support...
package io //Everything in here is under the "io" package and must be
referenced to as "io."
read_line : //"io.read_line()"
{
//...
}
Original issue reported on code.google.com by [email protected] on 15 Feb 2012 at 8:14
Original comment by [email protected] on 15 Feb 2012 at 8:14
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
Original comment by [email protected] on 15 Feb 2012 at 8:18
- Added labels: Priority-Low
- Removed labels: Priority-Medium
As an additional note:
Compilation of seperate files needs to have the check for "entrypoint" made
optional, or better yet... removed entirely.
Entrypoints should only ever be required if the document is expected to
EXECUTE. In the case of compilation to byte code, or in the case of building a
"project" this is not necessary, as the entrypoint will either not be needed
(building a library, dll, etc), or will be in another file (imagine breaking
era up into multiple source files).
Currently the system does a semantic check that throws if each source file does
not have an entrypoint.
Original comment by [email protected] on 7 Aug 2013 at 9:01