Giter VIP home page Giter VIP logo

keentype's People

Contributors

jamespfennell 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

Forkers

siviae dohv163

keentype's Issues

Investigate

From the original TODO:

  • check all calls of show_box for end_line
  • check comparing of potentially serialized objects (SSS)
  • check the behavior of implicit kerns (from kernings with right boundary) (in situations like \lastkern, \unkern, sparing in math ...)
  • check what is false_bchar good for

Minor bugs/omissions

From the original TODO:

  • proper interaction setting when dumping/undumping
  • arithmetic overflow is not caught [103-107]
  • '$\left ... \over ... \showlists' doesn't show left delimiter
  • checking of infinite shrinkage in paragraph breaker [825]
  • checking of infinite shrinkage in vsplit breaker [976,1004]
  • checking of infinite shrinkage in page breaker [1009]
  • recovery from unbalanced output routine
  • message "see the transcript file ..." [1335]
  • enable term output in TeXIOHandler [535]

Clean up (found while documenting)

  • make classes for which it makes sense Comparable: nts.base.Dimen, ...
  • consider a virtual constructor and sharing methods for subclasses of nts.base.BinFractionts
  • nts.base.Dimen.REPR_UNITY is public and used. Isn't there other way around?
  • nts.base.Dimen.badness() and the BADNESS constant maybe belong rather to nts.node.GlueSetting (probably not because badness is a method of Dimen)
  • nts.base package can be split to nts.util package with universal classes and nts.base with TeX related (Num, BinFraction, Dimen, Glue)
  • nts.base.ClassAssoc could do the registration of classes itself (on demand by get() method)
  • provide equals() (all variants like Dimen) and hashCode() for nts.base.Glue
  • so far there is not much code documented so a lot of other bugs may appear

Clean up

From the original TODO:

  • package command is dependent on package node and vice versa only because it needs some type declarations (DDD) (Box for abstract getBoxValue() and TokenList for abstract getMark()). It might be solved using genericity.
  • package node is dependent on package command
  • Page depends on VSplitPrim
  • MathCodePrim inherits defVal from DefCodePrim and it doesn't need it
  • numeric comparison is used for conditional levels (\or, \else, \fi)
  • integer math codes
  • getBytes() is misused for some DVI data
  • some constants should be defined on config level (ConvStyle, FontPrim)
  • redundant definition of NORMAL_SPACE_FACTOR (TeXConfig and HorizBuilder)
  • hard-wired (numeric) constants in error messages (TeXErrorPool)

Optimizations

  • remove default values from tables instead of keeping them (\read, \write, hashtable)
  • cache objects created on demand (characters, recovery tokens)
  • efficient version of NodeList.prepend()

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.