This is a really big demand from any viewpoint so I have divided it into two bits:
Importing of files
Importing of repositories
Act 1: Importing of files
They could be done as mentioned in #111:
These are the ones that I recommend:
import JellyFile1.jelly
JellyFile1.myFunction()
import myFunction from JellyFile1.jelly
myFunction()
And these ones are suggested but not recommended.
import JellyFile1.jelly as Functions1
Functions1.myFunction()
import myFunction as func from JellyFile1.jelly
func()
Act 2: The repository system
As mentioned in #109:
Such syntax could be hosted on a GitHub gists file or a GitHub repository.
[
{
"name": "MyLib",
"meta": "A library of useful functions for JellyCuts."
"source": "https://mylib.xyz/repo/MyLib.jelly"
},
{
"name": "Flash",
"meta": "A programming language written in Jelly.",
"source": "https://github.com/MinecraftPublisher/Flash/Flash.jelly"
}
]
This is a really big demand from any viewpoint so I have divided it into two bits:
Act 1: Importing of files
They could be done as mentioned in #111: These are the ones that I recommend:
And these ones are suggested but not recommended.
Act 2: The repository system
As mentioned in #109: Such syntax could be hosted on a GitHub gists file or a GitHub repository.