A Discrete Calculus with Applications of High-Order Discretizations to Boundary-Value Problems