Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Install gracepm correctly

The earlier commit mistakenly installed minigrace as gracepm.
latest commit 2a247c0e88
Michael Homer authored April 18, 2014
Octocat-spinner-32 c Make tarball Makefile update buildinfo.grace February 14, 2014
Octocat-spinner-32 doc Update doc/authors February 05, 2014
Octocat-spinner-32 js Add object annotations to JS backend April 09, 2014
Octocat-spinner-32 known-good Bump known-good February 14, 2014
Octocat-spinner-32 sample Add basic ownership dialect April 09, 2014
Octocat-spinner-32 tests Update tests for new try-catch syntax February 13, 2014
Octocat-spinner-32 tools Include formal name aliases for control characters February 21, 2014
Octocat-spinner-32 .gitalyse Ignore changes to mailmap in stats February 08, 2014
Octocat-spinner-32 .gitignore Add gracepm package manager April 17, 2014
Octocat-spinner-32 .mailmap Update doc/authors February 05, 2014
Octocat-spinner-32 Makefile Install gracepm correctly April 18, 2014
Octocat-spinner-32 README Clarify tarball-bootstrap instructions November 18, 2013
Octocat-spinner-32 StandardPrelude.grace Add "StandardPrelude.methods" for dialects December 08, 2013
Octocat-spinner-32 ast.grace Add object annotations, retained at runtime April 09, 2014
Octocat-spinner-32 compiler.grace Remove disused -X options March 15, 2014
Octocat-spinner-32 configure Set appropriate default paths in configure February 05, 2014
Octocat-spinner-32 curl.c Remove none references from curl November 22, 2013
Octocat-spinner-32 debugger.c Fix omitted name in debugger error message August 19, 2012
Octocat-spinner-32 definitions.h Fix return value of getline November 09, 2012
Octocat-spinner-32 errormessages.grace Add suggestion.append()onLine method February 10, 2014
Octocat-spinner-32 genc.grace Remove disused -X options March 15, 2014
Octocat-spinner-32 genjs.grace Add object annotations to JS backend April 09, 2014
Octocat-spinner-32 genjson.grace Track selfcalls more accurately in JSON September 09, 2013
Octocat-spinner-32 gracelib.c Remove disused -X options March 15, 2014
Octocat-spinner-32 gracelib.h Add object annotations, retained at runtime April 09, 2014
Octocat-spinner-32 gracepm.grace Add gracepm package manager April 17, 2014
Octocat-spinner-32 identifierresolution.grace Add "Unknown" type to replace "Dynamic" February 13, 2014
Octocat-spinner-32 interactive.grace Remove catch-case uses from compiler February 14, 2014
Octocat-spinner-32 lexer.grace Optimise common cases in lexer further November 23, 2013
Octocat-spinner-32 math.c Make math module be correctly GC-rooted in C March 13, 2014
Octocat-spinner-32 mgcollections.grace Expand asDebugString definitions November 19, 2013
Octocat-spinner-32 mirrors.c Add object annotations, retained at runtime April 09, 2014
Octocat-spinner-32 parser.grace Remove disused -X options March 15, 2014
Octocat-spinner-32 repl.c Remove remaining "none" references from C November 15, 2013
Octocat-spinner-32 unicode.c Avoid anonymous union in unicode patterns December 11, 2013
Octocat-spinner-32 unicodedata.h Regenerate unicodedata files February 21, 2014
Octocat-spinner-32 util.grace Remove disused -X options March 15, 2014
Octocat-spinner-32 xmodule.grace Rebuild nested dialects when changed February 14, 2014
README
A compiler for the Grace language.

Minigrace compiles Grace to C and JavaScript. The compiler is written in
Grace itself. It supports most of the specified language to date: for
details on current language feature support see <doc/errata>.

Minigrace should work on POSIX-compliant systems, and is known to work
on Linux, NetBSD, and Mac OS X. It requires a properly-configured GCC on
the path, which may require installing development tools.

Tarball distributions should compile with just `./configure && make`.

The Git repository is able to bootstrap itself with `make` on some
systems, but it is recommended first to bootstrap from a tarball by
running `tools/tarball-bootstrap -a`. More detailed build instructions
are in <doc/build>.

After building there will be a `minigrace` executable in the root. This
executable supports a few different modes and options, described in
<doc/usage>. The simplest usage is just:
  ./minigrace file.grace
which will compile file.grace to an executable and then run it.

The Minigrace documentation is listed in the <doc/index> file.

Licensing
---------
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Although the compiler by nature reproduces portions of its own code in
its output, as a special exception, incidental reproduction of any part
of its source code by the compiler as part of compiling any other
program does not require that program to adhere to the terms of the GPL.
You are free to remove this exception from any version of the compiler
you have modified.
Something went wrong with that request. Please try again.