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

Split oMiser and oFrugal grammars #56

Open
orcmid opened this issue Jan 23, 2021 · 1 comment
Open

Split oMiser and oFrugal grammars #56

orcmid opened this issue Jan 23, 2021 · 1 comment
Assignees
Labels
task An effort that needs to be identified and then carried out, staged as needed

Comments

@orcmid
Copy link
Owner

orcmid commented Jan 23, 2021

The file ob-exp.txt combines two important cases that need to be separated for comprehension.

  1. The canonical expression of obs is supported. The oFrugal output of such expressions will round-trip. That is, immediate re-input to oFrugal will yield essentially the same expression as output. That is, the same ob is determined.
  2. There are additional capabilities that that are entirely resolved in oFrugal and it is useful to separate the accounts for that purpose. oFrugal provides all of the concrete syntax including lexical structure, handling of computer character sets, and progression of oFrugal-bound definitions to be used in subsequent oFrugal statements/commands.
  3. There are also oMiser obs whose existence is on behalf of oFrugal and users thereof. That contextual situation needs to be reflected in a clear-cut manner.

This issue and its subtasks will account for achievement of all that.

@orcmid orcmid added the task An effort that needs to be identified and then carried out, staged as needed label Jan 23, 2021
@orcmid orcmid self-assigned this Jul 30, 2022
@orcmid
Copy link
Owner Author

orcmid commented Jul 30, 2022

This will be handled by having ob-exp be the full oFrugal expression and have an abbreviated version that is only for the canonical forms.

The canonical form is the essential output case.

It would be nice to do something about the all-lindy cases though, so they can be a pleasing output form without introducing strings and input-output. A challenge has to do with lists being built back to front :). This takes some thought.

orcmid added a commit that referenced this issue Jul 31, 2022
The full ob-exp belongs with oFrugal, where the grammar is used.
orcmid added a commit that referenced this issue Jul 31, 2022
This file is to be split between CFOB.txt here and oFrugal\ob-exp.txt where there will also be integration with the REPL syntax.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task An effort that needs to be identified and then carried out, staged as needed
Projects
None yet
Development

No branches or pull requests

1 participant