parisoft / noop Goto Github PK
View Code? Open in Web Editor NEWNES Object Oriented Programming language
License: Apache License 2.0
NES Object Oriented Programming language
License: Apache License 2.0
Change the way parameters are declared to:
$method(value : Type, pointer -> Type) {
}
if (++var > num) {
}
In the above example, tha asm code loads num into A then it loads A with var for increment without pushing.
Problem:
(array as Byte[x])[i] <- cannot be achieved
Create the tag @Port
to allow constants receive a value.
When write to a port:
LDA foo
STA MyPort ; instead of STA #MyPort
When read from a port:
LDA MyPort; instead of LDA #MyPort
Problem:
p1 : Paddle{ x : 0 }
p2 : Paddle{ x : p1.paddle } <- "p1 cannot be used before declared"
Fields tagged as @PRG-ROM
and @CHR-ROM
now are constants
Problem:
method(Byte b) {
}
this.method <- Should show an error, but not
Implement quickfix for:
Refactor only INESHeader
class:
INESHeader
classINESHeader
to Game
as constantsRefactor INESHeader
and Game
classes:
INESHeader
and Game
classes@INES_MAPPER
@Reset
foo : 2
bar : foo + array[i] <-- error
Workaround:
FamiTone2.$stopMusic
FamiTone2.$openSfx(file)
x >> y
x >>= y
Both doesn't work
When do
$roms @PRG-ROM : ["file://foo.asm", "file://bar.asm"]
exprected
$roms:
.incbin "path/to/foo.asm"
.incbin "path/to/bar.asm"
got
$roms:
.db $00, $01, ....
.db $0A, $00, ...
++obj.var
dont worls
Today an array assignment copies rhs length elements. But the copy only take into account bounded arrays (unbounded are treated as 1 length)
To do: copy the min between lhs length and rhs length elements. Must works for bounded and for unbounded as well
Problem:
A {
b : B{}
}
B {
a : A{} <- Must validate and treat as error
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.