IppClub / IppClub/YueScript

Operators as functions, and partial application of operators

Open
#125 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
613
Forks
45
PR merge metrics
No merged PRs in 30d

Description

LiveScript (a descendant of CoffeeScript that also supports features like pipes and spread operators) supports operators as functions, with partial application.

This allows for Polish-like notation:

(in [1 to 3]) 2  # true

It also combines well with pipes:

111 |> (+) 222  # 333

I'd love to see this in Yuescript.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no YueScript files or tests. Start with the linked LiveScript operators and partial-application reference, then locate YueScript's relevant compiler entry points; done means the shown operator-function and pipe examples compile and behave as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
coffeescript, lua
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.