-
Notifications
You must be signed in to change notification settings - Fork 0
richcole/RJL
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
= RJL This is a second go at a language inspired by Self, Smalltalk and Ruby. == Flavor of the Language { sys | sys Object merge:: { mixin | mixin slots each: { slot | self at_slot: slot set: (mixin get_slot: slot); }; return obj; }; sys Object merge: (| self merge:: { mixin | obj: self new; mixin slots each: { slot | obj at_slot: slot set: (mixin get_slot: slot); }; return obj; }; |); sys Sequence merge: (| self aggregate:by:: { agg block | self each: { value | agg: (block invoke: agg with: value) }; return agg; } self copy:: { col | col each: { value | self push: value; }; }; |) sys Vector: ( sys Array extend (| new:: { array | copy: array; }; inner_product:: { x | return self indexes aggregate: 0 by: { agg index | return agg + (self get: index) * (x get: index); } }; |) ); }
About
A experimental unfinished dynamic language influenced by Newspeak, Self, Smalltalk, Ruby and Javascript
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published