Giter VIP home page Giter VIP logo

cas-703-project's People

Contributors

balacij avatar hassanzaker avatar

Watchers

 avatar

cas-703-project's Issues

Definable tolerance for “Real” numbers

When comparing real numbers, we should allow the user to define a tolerance value for equivalence of reals. Otherwise, equivalence of calculated real numbers will be nearly impossible.

Markdown renderer

The markdown renderer should give basic information about the calculator, the algorithm employed, and all symbols.

More expression operators

  • Absolute value for numerics
  • sin, cos, and tan for numerics
  • round, ceil, and floor for real -> integer conversions
  • itor for integer -> real conversion

Connecting calculators

If calculator 1 has output set A, and calculator 2 has input set subset of A, then we should be able to 'connect'/compose the calculators into 1 big calculator.

Write “code” renderer

We should write a “code” renderer in some programming language. It might be good for us to avoid Java, and go to something else.

What are our "requirements"?

Specifically, we should know our:

  1. "must have" requirements,
  2. "nice to have" requirements, and
  3. "we wanted, but not enough time/too difficult" requirements.

Prospective code snippet:

calculator potato with
	symbols
		constants
			x = 4 : Real m
			y = 10 : Real kg
		inputs
			n : Integer ~ Number of items
			a : Vector (Real m) n ~ Items
		intermediates
			b : Real m ~ Sum of items
		outputs
			c : Real m ~ Sum of items, doubled
	steps
		b = sum(a)
		c = 2 * a

Feature: Test cases

We should have a syntax for defining test cases on the calculators. This should rely on the simulation to make sure that the calculator is actually ok.

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.