Comments (10)
i'm for top level, for the pro listed (and easier to parse maybe?)
from -g-pl.
This is quite a big thing. The real issue here is how the language is going to work; is it going to be compiled or interpreted?
from -g-pl.
My implementation is definitely going to be interpreted, due to the runtime variable name resolution rules I've described. Of course, it could be compiled together with a very slow runtime (where every variable reference would perform a runtime call to resolve it)
from -g-pl.
If we're going to go interpreted, I think we should allow global execution.
from -g-pl.
It's probably the best solution. To solve the “functions need to be defined before they can be used” thing, a user could throw all of his functions into separate files and include them all at the top of the main file.
(We'd need a nice meme-based syntax for inclusion as well)
from -g-pl.
How about
install functions.gs
We could have header files called gentoo!
I think we should also take a look at the name of functions. Maybe we can call them Threads or something. But I'll make another issue out of this some time.
from -g-pl.
install sounds good. “install gentoo” should be reserved for something silly though, I don't know what yet.
I was thinking threads should be reserved for actual threads, eg. concurrency features that we may wish to implement later on.
Y'know, like /thread could mean “terminate the current thread” and all that. Maybe something else for functions, like “posts”?
from -g-pl.
/thread sounds cool.
We could also use an unboxing thread for including, but install sounds better to me.
If we use posts for it, you know we should have a captcha for creating a new function :)
from -g-pl.
Nah, but >captcha should be a built-in function which presents a captcha to the user (as popup if graphical environment is found, otherwise as ASCII art), and returns a bool depending on whether or not the user entered it correctly
from -g-pl.
I'm closing this issue since it looks like we'll be keeping global execution.
from -g-pl.
Related Issues (17)
- Multiline comments HOT 2
- OP function (aka main) HOT 5
- Repetition HOT 16
- gb2 needs a rework HOT 5
- Function call delimiter HOT 8
- Recursion HOT 1
- Thread on /g/ HOT 4
- Partial application HOT 1
- Easier conditional? HOT 3
- Array structure HOT 9
- Switch statement HOT 1
- Parsing diagram HOT 3
- "100% accurate" form for functions HOT 1
- Boolean HOT 3
- Finite State Machine and Lexer HOT 6
- Infix Operators vs Functions HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from -g-pl.