Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b8b197c
Showing
10 changed files
with
250 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.rvmrc | ||
_output/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
source :rubygems | ||
|
||
gem "proton", "~> 0.3.4" | ||
gem "rack-cache", "~> 1.0.0" | ||
gem "slim" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
RedCloth (4.2.8) | ||
chunky_png (1.2.1) | ||
compass (0.11.5) | ||
chunky_png (~> 1.2) | ||
fssm (>= 0.2.7) | ||
sass (~> 3.1) | ||
cuba (2.0.1) | ||
rack | ||
tilt | ||
fssm (0.2.7) | ||
haml (3.1.2) | ||
hashie (1.0.0) | ||
maruku (0.6.0) | ||
syntax (>= 1.0.0) | ||
proton (0.3.4) | ||
RedCloth (~> 4.2.3) | ||
compass (~> 0.11.1) | ||
cuba (~> 2.0.0) | ||
haml (~> 3.1.1) | ||
hashie (~> 1.0.0) | ||
maruku (~> 0.6.0) | ||
sass (~> 3.1.1) | ||
shake (~> 0.1) | ||
tilt (~> 1.3.2) | ||
rack (1.3.2) | ||
rack-cache (1.0.3) | ||
rack (>= 0.4) | ||
sass (3.1.7) | ||
shake (0.1.3) | ||
slim (1.0.2) | ||
temple (~> 0.3.3) | ||
tilt (~> 1.3.2) | ||
syntax (1.0.0) | ||
temple (0.3.4) | ||
tilt (1.3.3) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
proton (~> 0.3.4) | ||
rack-cache (~> 1.0.0) | ||
slim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This is a Proton site. | ||
# Install Proton (`gem install proton`) and type `proton` for help. | ||
requirement: 0.2 | ||
|
||
# The folder where the site's source files are kept. | ||
site_path: . | ||
output_path: _output | ||
|
||
# Other paths: | ||
layouts_path: _layouts | ||
extensions_path: _extensions | ||
partials_path: _partials | ||
|
||
tilt_options: | ||
haml: | ||
escape_html: true | ||
scss: | ||
load_paths: [ 'css' ] | ||
style: :compact | ||
line_numbers: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Instructions | ||
------------ | ||
|
||
1. Make sure Ruby (>= v1.8) is installed. | ||
2. Install the proton gem: `gem install proton` | ||
3. Build the site HTML files by typing: `proton build` | ||
|
||
(If #2 fails, you may need to type `sudo gem install proton` instead.) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
!!! 5 | ||
%html | ||
%head | ||
%title= page.title | ||
|
||
%meta(charset='UTF-8') | ||
-# Use the latest IE engine, or Chrome frame. | ||
%meta(http-equiv='X-UA-Compatible' content='IE=edge,chrome=1') | ||
|
||
-# Mobile viewport optimization. j.mp/bplateviewport | ||
%meta(name='viewport' content='width=device-width, initial-scale=1.0') | ||
|
||
-# Standard SEO meta | ||
- if page.meta.keywords | ||
%meta{:name => 'keywords', :content => page.meta.keywords} | ||
- if page.meta.description | ||
%meta{:name => 'description', :content => page.meta.description} | ||
|
||
%link{:rel => 'stylesheet', :href => '/css/style.css'} | ||
|
||
%body | ||
#container | ||
#header | ||
%h1 Acute! | ||
- if page.subtitle | ||
%h6= page.subtitle | ||
- else | ||
%h6= page.title | ||
|
||
#content | ||
!= yield | ||
|
||
%div#footer | ||
%p | ||
Generated by | ||
%a{:href => "http://sinefunc.com/proton/"} Proton | ||
and hosted on | ||
%a{:href => "https://github.com/", :class => 'period'} GitHub | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# This file exists to make this project Rack-compatible. | ||
# You may delete it if you're not concerned about this. | ||
|
||
require 'rubygems' unless defined?(::Gem) | ||
|
||
# Use Bundler if possible. | ||
begin | ||
require 'bundler' | ||
Bundler.setup | ||
rescue LoadError | ||
gem 'proton', '0.3.2' | ||
end | ||
|
||
# Optional: use the 'rack-cache' gem for cacheing. | ||
if ENV['RACK_ENV'] == 'production' | ||
begin | ||
require 'rack/cache' | ||
use Rack::Cache | ||
rescue LoadError | ||
end | ||
end | ||
|
||
# Load Proton. | ||
require 'proton/server' | ||
Proton::Project.new File.dirname(__FILE__) | ||
run Proton::Server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
body { | ||
margin-left: 10%; | ||
background-color: #eee; | ||
} | ||
|
||
#container { | ||
width: 80%; | ||
} | ||
|
||
#header { | ||
background-color: #fff; | ||
padding: 1em; | ||
margin-bottom: 0.4em; | ||
font-size: 1em; | ||
font-family: "Lucida Grande", Verdana, Arial, sans-serif; | ||
color: #111; | ||
} | ||
|
||
#header h1 { | ||
font-size: 4em; | ||
text-align: center; | ||
} | ||
|
||
#header h6 { | ||
font-size: 1em; | ||
font-style: italic; | ||
text-align: center; | ||
color: #888; | ||
} | ||
|
||
#content { | ||
background-color: #fff; | ||
padding: 1em; | ||
font-size: 1em; | ||
font-family: "Lucida Grande", Verdana, Arial, sans-serif; | ||
color: #555; | ||
} | ||
|
||
#content p { | ||
line-height: 150%; | ||
text-align: justify; | ||
} | ||
|
||
#content li { | ||
line-height: 150%; | ||
} | ||
|
||
#footer { | ||
padding: 1em; | ||
font-size: 0.75em; | ||
font-family: "Lucida Grande", Verdana, Arial, sans-serif; | ||
color: #666; | ||
background-color: #ddd; | ||
} | ||
|
||
a { | ||
padding: 0.2em; | ||
color: #555; | ||
background-color: #ddd; | ||
text-decoration: none; | ||
} | ||
|
||
a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
#footer a { | ||
padding: 0.2em; | ||
color: #666; | ||
background-color: #ccc; | ||
text-decoration: none; | ||
} | ||
|
||
#footer a.period:after { | ||
content: "."; | ||
} | ||
|
||
#footer a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
layout: default | ||
title: Acute Programming Language | ||
subtitle: A small, focused language | ||
-- | ||
%p | ||
Acute is an object-oriented programming language based on prototypes. It is an implementation of the | ||
%a{:href => "http://www.iolanguage.com/"} Io | ||
and aims to be entirely self-hosting. After all, any language worth its weight in NAND flash is self-hosting, isn't it? | ||
%h3 Feature list, ready for it? | ||
%p | ||
Here's a list of the features in Acute, more detail will be covered in the documentation. (Yes, I know there's no link there right now.) | ||
%ul | ||
%li Lightweight Object-Oriented language | ||
%li Bootstrapped in Ruby (later, LLVM IR) | ||
%li Enhanced lightweight object model (differs from Io, more powerful) | ||
%li Slots as first class citizens (known as Metas in Acute) | ||
%h3 Where's the code, Jack? | ||
%p | ||
%a{:href => "https://github.com/acutelanguage/acute"} GitHub | ||
of course! |