-
Notifications
You must be signed in to change notification settings - Fork 11
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
Create standard library #9
Comments
This deserves deeper discussion and evaluation - how much of a stdlib do we consider necessary for 1.0? Adding this to the 1.0 release column, but it might be reasonable to split this up. |
I think that the stdlib which will be forever shipped (and forever maintained) with Basil shall be really minimal (let's call it a tier 1 stdlib) and have strong focus on "meta" things. What I mean by "meta" is to meticulously define and technically enforce "namespace" division and related release & distributed (among different groups with different goals - e.g. commercial sector vs academia vs consumers etc.) management. This is to avoid the disaster which happened to the Tcl ecosystem. I.e. people wanted to write lots of Tcl extensions and modules but because of missing coherent structure how such separately (totally in isolation) developed code should mix with other such code, Tcl struggled for about 20 years to slowly and very painfully reintegrate a (rather small) subset of the extensions & modules into the official distribution.
Thoughts? Imagine I would want to create a tier 2 stdlib which would transform Basil into a fully dataflow language (e.g. a shell-like language with pipes everywhere and no traditional sequential code). So in other words, nothing in tier 1 must prevent me from doing this without having to fight some weird tier 1 (anti)features. |
One of the most important elements of making Basil more accessible to new users is providing those users with access to useful library functions. In its first form, this will look like:
Each separate category of operation will be defined in it's own file, allowing users to import library functions as they're needed.
The overall goal for the Basil standard library is to be easy to use and to have enough breadth that it covers the majority of programmers' average use cases.
The text was updated successfully, but these errors were encountered: