Comments (3)
Add ownership to function calls.
owner.functionCall(args) // uses the owner object "owner"
functionTwo(args) // uses the top level file static class as "owner"
from imp.
Still not sure what the story will be for functions on structs, but top level functions all are owned by the file they are declared in.
from imp.
Moved out of scope.
from imp.
Related Issues (20)
- Struct functions HOT 1
- Functions named "main" error
- `+=` does not work with strings
- Calls to log with arguments of void type error HOT 1
- Comparisons do not work with floating point types.
- For loop incrementer variables are scoped too high
- No main method in "imp/src/test/java/org/imp/test/CompilerTest.java" HOT 1
- Change the default branch to newAST
- Stack errors
- Whats the difference between these two files?
- Add an action for adding new stdlib features
- use of booleans nullifies all outputs in a function
- Unable to initialize main class of test file
- add the modulus operator
- VM crashes if a variable is declared within a log() statement HOT 1
- Add the Long data type
- Constants from a java file cannot be used in an imp file, otherwise the VM crashes HOT 1
- Variable Naming with Variables HOT 2
- If statement variable name inference
- Reverse for loops
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 imp.