Skip to content

Commit

Permalink
More ideas to the todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Baltasarq committed Jan 26, 2016
1 parent c253f3a commit d80b513
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 16 deletions.
32 changes: 17 additions & 15 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ToDo.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- The parser has problems interpreting parameters which are complex. For example, Complex add c2
TraitsComplex.add = { c: self.real = (self.real + c.real); self.imgr = (self.imgr + c.imgr) }
- Needs Math object with sqr, sqrt, PI
- Needs Math object with sqr, sqrt, PI. Sys object with time, date, import()... These could be imported objects stored in a special dir (part of the jar) that could be imported.
- Needs libraries, such as Complex. This could used with import, and loaded as any transcription.
- Store the last directory
13 changes: 13 additions & 0 deletions samples/point.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
> (anObject copy) rename "TraitsPoint"
> (TraitsPoint createChild) rename "Point"
> Point.x = 0
> Point.y = 0
> TraitsPoint.shift = { delta: self.x = ( self.x + delta ); self.y = ( self.y + delta ) }
> TraitsPoint.move = { x y: self.x = x; self.y = y }
> TraitsPoint.str = {: ( ( self.x str ) + ", " ) + ( self.y str ) }
> (Point copy) rename "p1"
> p1 str
> p1 move 5 6
> p1 str
> p1 shift 7
> p1 str

0 comments on commit d80b513

Please sign in to comment.