Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
(Discontinued: not working and no longer maintained.) Web Page GUI for generating & testing APG parsers. New feature for viewing the trace as a d3.js-generated parse tree.
Discontinued: not working and no longer maintained.
apg.html is a web page GUI for developing and testing SABNF syntax and the JavaScript APG parsers it generates. It has been removed from the apg repository because of several updates that make it more of an independent project apart from apg.
First, it has been updated to use jQuery for better cross-browser behavior. Second, and more importantly, is the major enhancement of a visual, trace tree using the d3 library.
The installation uses less
and webpack
to bundle the node.js code for the web pages and docco
to generate the documentation.
npm install -g webpack@2.3.3
npm install -g less@2.7.1
npm install -g docco@0.7.0
Other versions may work fine. These are the versions that the applications have been tested with.
From GitHub:
git clone https://github.com/ldthomas/apg-html.git apg-html
cd apg-html
npm install
From npm:
npm install apg-html
cd node_modules/apg-html
To bundle the applications for web page use and generate the documentation
npm run build
./docco-gen
To view the documentation, open docs/setup.html
in any web browser to get started.
Use the "JUMP TO" links in the upper right corner to navigate the documentation for the different pages.
If you want to rebuild the apg
or tree
bundles separately,
npm run build-apg
npm run build-tree
apg.html is a single web page, driven by (Webpack) bundled JavaScript. In essence, it provides a panel to input an SABNF grammar, generate a parser from it and test it with an input string. For details, click on
apg.html
and read the Help panel.
New with this version is a feature for viewing a d3.js graphic display of the parse tree. The file
tree.html
can be popped up from apg.html (see the Trace Help) or can be run stand-alone with the tree data in a <script> file. Including the helper function
js/tree-save.js
can assist in getting the data in the right format. See the examples
Copyright © 2017 Lowell D. Thomas, all rights reserved
Released with the BSD-3-Clause license.
FAQs
(Discontinued: not working and no longer maintained.) Web Page GUI for generating & testing APG parsers. New feature for viewing the trace as a d3.js-generated parse tree.
The npm package apg-html receives a total of 0 weekly downloads. As such, apg-html popularity was classified as not popular.
We found that apg-html demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.