Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcw committed May 11, 2012
1 parent ab32164 commit bddd518
Showing 1 changed file with 5 additions and 23 deletions.
28 changes: 5 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ It's made to look like Javascript, and actually run as Javascript,
though the implementation has no official relation. It's a compact
language that should be easy to implement in C++ as well.

This is meant to be the endgame of the
[Project It Yourself](http://macwright.org/2012/03/12/project-it-yourself.html)
project - a way to represent arbitrary projections in a
code-as-configuration way that allows for autoconfiguration.

Goals

* Non-crazy syntax, somewhat familiar to Javascript programmers
* No side effects allowed
* Type annotations
* Compact syntax
* Secure: no access to Javascript objects
* Only numbers allowed: no other types
* Tiny implementation
Expand All @@ -22,25 +23,6 @@ Goals

Possible features:

## Constants

```javascript
var HALFPI = 1.5707963267948966;
var FORTPI = 0.78539816339744833;
var PI = 3.14159265358979323846;
var TWOPI = 6.2831853071795864769;
var A = 6378137;
var D2R = Math.PI / 180;
```

## Base Math library

* Math.atan
* Math.log
* Math.fabs
* Math.cos
* Math.sin

## FAQ

Why not JavaScript?
Expand Down

0 comments on commit bddd518

Please sign in to comment.