riccardo-bernardini / protypo Goto Github PK
View Code? Open in Web Editor NEWAnother template engine "alla mia maniera" (in my style)
License: MIT License
Another template engine "alla mia maniera" (in my style)
License: MIT License
Or, at least, a built-in function (but it shouldn't be too complex to add it as an operator)
At the moment function match returns a boolean value: match/no match. It would be useful to be able to
get also substring matching, kind of $1 etc. in Ruby and other languages. I imagine an ambivalent interface
m := match("jim, foo and bar", "f(o+)");
m.matched? -- Returns true
m(0) -- Returns "foo"
m(1) -- Returns "oo"
or maybe m.matches(0)
(this would make it a Record_Interface)
The following code gives an error
q3 := split("aldo giovanni e giacomo", " ");
q3 := split("nome;cognome;;email;x", ";");
The problem is due to the fact that when evaluating the LHS of the second assignment, we get an Array_Handler and the interpret would like to write to the Array_Handler, but this is not possible. We should stop one level earlier and return the Reference_Handler associated with q3.
It is not critical, considering the fact that it is a language for templates, but it can be annoying and should be solved.
At the moment there is no case
control structure, even if case
is already a keyword. The utility of a case
is not clear, though. We have no enumerative types, so the case
would just be some syntactic sugar for if ... elsif ... elsif ... else ... end
. Is it worth the effort?
Add varargin, a "magical" variable that absorb all the remaining parameters given to a function, like in matlab/octave
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.