add lambdas (λ) and brainfuck lambdas (bfλ) #7

Closed
wackbyte wants to merge 2 commits from lambda into master

They're the same as functios but can be put in expression position:

functio add1(var) {
    1 + var =: var;
}

dim bar 0;
(add1 * λ () { /*from the lambda!*/ print; })(bar);
bar print;

I also added brainfuck lambdas that use the bfλ keyword, and theoretically they should work (I haven't tested).

They're the same as functios but can be put in expression position: ``` functio add1(var) { 1 + var =: var; } dim bar 0; (add1 * λ () { /*from the lambda!*/ print; })(bar); bar print; ``` I also added brainfuck lambdas that use the `bfλ` keyword, and theoretically they should work (I haven't tested).
wackbyte added 2 commits 2022-04-19 00:08:47 +00:00
Ghost added the
wontfix
label 2022-10-08 16:23:17 +00:00
Ghost closed this pull request 2022-10-08 16:24:07 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AbleScript/ablescript#7
There is no content yet.