Code Monkey home page Code Monkey logo

cxxdraft-htmlgen's People

Contributors

adamcavendish avatar dyp-cpp avatar eelis avatar johelegp avatar m-ou-se avatar oxyd avatar timsong-cpp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cxxdraft-htmlgen's Issues

flatRender, what flatRender?

$ runhaskell genhtml.hs ../draft Bare
SectionPages.hs:23:61: Module ‘Render’ does not export ‘flatRender’

It doesn't appear to be actually used anywhere.

No indentation for continued grammar productions

Sometimes a grammar production is very long, so it is split on two lines with indentation. Something like this

lambda-expression:
	lambda-introducer < template-parameter-list > requires-clause[opt]
                lambda-declarator requires-clause[opt] compound-statement

But this second indentation doesn't show up at all, which confuses me every single time. :(

If you look in lambda-expression in [expr.prim.lambda], you'll see 5 possible grammar rules, even though there are only 4 (the last one is missing indentation, because it belongs to the one before it).

eel.is domain name is expired

I'm terribly sorry for the noise, if this is the wrong place to report this, but it would seem that eel.is domain has expired (or banned or something else; I don't speak German) and responds with a placeholder site.

Diese Domain wurde gesperrt...

Falls Sie der Administrator dieser Domain
sind und Fragen zur Sperrung Ihrer
Domain haben, wenden Sie sich bitte
an unser Support-Team.

Feature request: syntax highlighting

I often find it difficult to read the draft code without syntax highlighting. Currently I don’t know of any syntax highlighter which handles all the code examples in the standard correctly (without calling out to a compiler for parsing), but in most cases even mostly-correct highlighting would be an improvement.

I don’t know anything about syntax highlighting libraries in Haskell or Node, or whether you’d be willing to add extra dependencies for this, but I do think it would make things easier to read. If you are willing to add a dependency on Python, I’d recommend going with Pygments; it has some weird behavior around C++ code, but in most cases it handles things well. In some cases involving newer literal features it makes things worse (although I have an open PR for that), but the rest of the time I think it would really improve readability.

Single page document

Great tool! Any reason why you did not consider a single page document? Would you guide me to some particular direction if I wanted to generate a single page document. Would you recommend a postprocessing or update the code?

Some parts of index not correctly rendered

We have some stray quotes:

"!, see operator, logical negation
"!=, see inequality operator

followed by some missing quotes (this should be "...")

..., see preprocessing directives, source-file inclusion

followed by more stray quotes:

"|, see bitwise inclusive OR operator
"|"|, see logical OR operator

In the middle we have

_, see character, underscore, see operator, ones' complement

The second "see" is for ~, but it disappeared.

And then there's

exception, [exception.syn]
arithmetic, [expr]
undefined arithmetic, [expr]

This mixed <exception> and "exception". In the standard it is

exception
arithmetic, [expr]
undefined arithmetic, [expr]
<exception>, [exception.syn]

It'd also be nice if all the special characters are together, like in the standard, rather than scattered all over the index.

'itemize' inside 'indented'

When using the tool (with the new grammar & charname.tex changes reverted) on N3337 and N4140 sources, I noticed that it chokes on a section of conversions.tex that has something like

\begin{indented}
...
\begin{itemize}
...
\end{itemize}
\end{indented}

with an 'unexpected env itemize' error. I worked around this by removing the 'indented' in the LaTeX, but maybe it's easy to change the code to accommodate this?

Issues with [facet.num.put.virtuals] p5

First, the bullet number for 5.1 and the paragraph number overlap.
Second, the line breaks before "A local variable punct..." and "Decimal point characters..." aren't rendered.

[fs.definitions] mishandled

The top level, 30.10.4 [fs.definitions] is blank; the items are numbered as 30.10.5 etc. rather than 30.10.4.1. This causes what is section 30.10.5 [fs.req] in the working draft to be numbered 30.10.24 instead in the HTML.

\pnum inside examples?

I'm having problems visiting eel.is right now, but my copycat appears to have problems with a \pnum inside an example, producing stuff like

locales.tex5110This example illustrates two architectural uses of class locale.

Installation directions are largely incomplete and/or broken

Disclosure: I'm relatively new to haskell, but I've been able to successfully build/install/use other packages in the past

I installed all of the dependences using brew (and brew cask) on macOS.

  • brew cask install haskell-platform
  • brew install nodejs graphviz
  • npm install mathjax-node

I first attempted to just run runhaskell genhtml.hs /path/to/draft but it failed because it couldn't find the dependent libraries (derp). Then I noticed the cabal file, so I moved on to using cabal.

I then attempted to run cabal install only to be presented with conflicts which could not be resolved (expected). Moved to cabal install --only-dependencies -- failed. I tried sandboxes to install each package, but I could not get it to a state where I could build all of the dependencies.

What is the best course of action? Why are the versions so restrictive when it's not easy to install them?

Mitigating the effect of stable name changes

It may be worth considering using the information in xrefdelta.tex to generate redirects and/or placeholder pages (for removed or multi-target cases), to mitigate the impact of stable name changes on incoming links.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.