Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visually attach metadata to expressions #5

Open
JeffreyBenjaminBrown opened this issue Oct 3, 2017 · 0 comments
Open

Visually attach metadata to expressions #5

JeffreyBenjaminBrown opened this issue Oct 3, 2017 · 0 comments

Comments

@JeffreyBenjaminBrown
Copy link
Owner

Within-expression decorators

The user might ask to prepend "NEW!" to any task that was created within the last week, and "URGENT!" to anything urgent. The result would be something like:

get a haircut
NEW! learn the charleston
URGENT! fix brakes
mow the lawn

Staircase columns

An example

Imagine the user wants to see, for every expression E on screen, a boolean indicating whether E is a task, and an integer indicating how many people enjoy E. This data could be displayed as:

/it #(is a) task
    /count #enjoy /it
---------------------
y       get a haircut
    4   turtles

In general

To attach staircase columns k1 through kn to expressions e1 through en, the data would present as:

k1
  k2
    k3
      ...
        kn
----------
          e1
	  e2
	  ...
	  en

In a boolean column, "false" should present as the empty string, and in an integer column, 0 should presents as the empty string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant