GithubHelp home page GithubHelp logo

acme's Introduction

ACME tools

This project aims to provide an easy way to have cool tools to integrate on ACME, like code formatting, going to definitions of functions, etc.

The idea is to do this on the ACME spirit, integrating with external tools. So this is basically a collection of tools to use on ACME.

Dependencies

You will need the latest stable version of nash and Go to install and use the tools here.

You also need go get to install binaries that can be found on your operating system (like adding $GOPATH/bin on your $PATH, or whatever works for you).

Install

Just run:

./install.sh

We try to apply a pretty nifty idea from the ACME paper here:

Acmes context rules find the appropriate binaries in
/acme/edit rather than /bin ;  the effect is to turn
/acme/edit into a  toolbox containing tools and instructions
(the guide file) for their use.

In fact, the source for these tools is also there,
in the directory /acme/edit/src . 

This setup allows some control of the file name space
for binary programs; not only does it group related programs,
it permits the use of common names for uncommon jobs.

For example,the single-letter names would be unwise in 
directory in everyone's search path;
here they are only visible when  running editing commands.

But instead of using /acme/edit we use $PLAN9/acme/edit. This does not seem to be a problem since defining a PLAN9 environment is expected to install plan9port.

If you really don't like the idea you can run:

./install.sh <somedir>

And it will install the tools there.

Tools

So what tools comes in this project ?

Formatting

We have formatting available for the following languages:

  • Go
  • Nash

Just running fmt should automatically work. If you are having problems with fmt you can use:

  • gof for Go code
  • nashf for Nash code

Go

After installing you will have access to all the functionality described here. We provide more familiar aliases like:

  • godoc = A doc
  • godef = A def
  • goref = A refs
  • goren = A rn
  • gocs = A cs
  • gopeers = A peers
  • goshare = A share

Git

For people who need to commit and push every small stable step they give there is the gitcp command that, given a message, will commit all changes with that message and already push it too.

Example:

gitcp 'my awesome message'

And it is done =D. This doc has been commited using this, so it works =P.

acme's People

Contributors

i4ki avatar katcipis avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

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.