Skip to content

Commit

Permalink
refactor: Move parsely into top-level packages directory
Browse files Browse the repository at this point in the history
Parsely was missed by fa7bec3 because
it got merged afterwards.
  • Loading branch information
AtkinsSJ authored and KernelDeimos committed Jun 28, 2024
1 parent 45cdfcb commit adcd3db
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 6 deletions.
8 changes: 8 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
8 changes: 8 additions & 0 deletions packages/parsely/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "@heyputer/parsely",
"version": "1.0.0",
"author": "Puter Technologies Inc.",
"license": "AGPL-3.0-only",
"main": "exports.js",
"type": "module"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions packages/phoenix/src/puter-shell/coreutils/concept-parser.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { GrammarContext, standard_parsers } from '../../../packages/parsely/exports.js';
import { Parser, UNRECOGNIZED, VALUE } from '../../../packages/parsely/parser.js';
import { StringStream } from '../../../packages/parsely/streams.js';
import { GrammarContext, standard_parsers } from '@heyputer/parsely/exports.js';
import { Parser, UNRECOGNIZED, VALUE } from '@heyputer/parsely/parser.js';
import { StringStream } from '@heyputer/parsely/streams.js';

class NumberParser extends Parser {
static data = {
Expand Down
6 changes: 3 additions & 3 deletions packages/phoenix/src/puter-shell/coreutils/sed/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ import {
ZapCommand,
} from './command.js';
import { Script } from './script.js';
import { GrammarContext, standard_parsers } from '../../../../packages/parsely/exports.js';
import { StringStream } from '../../../../packages/parsely/streams.js';
import { INVALID, Parser, UNRECOGNIZED, VALUE } from '../../../../packages/parsely/parser.js';
import { GrammarContext, standard_parsers } from '@heyputer/parsely/exports.js';
import { StringStream } from '@heyputer/parsely/streams.js';
import { Parser, UNRECOGNIZED, VALUE } from '@heyputer/parsely/parser.js';

/**
* A slight hack: Parsely doesn't yet have an equivalent of backreferences.
Expand Down

0 comments on commit adcd3db

Please sign in to comment.