GithubHelp home page GithubHelp logo

techcable / asdl-archive Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 2.97 MB

An archive of the ASDL SourceForge repo (imported from CVS)

Home Page: http://asdl.sourceforge.net/

Makefile 0.26% C 4.04% Standard ML 82.28% C++ 2.62% Roff 0.01% HTML 0.69% Assembly 0.06% TeX 7.51% Haskell 0.30% Java 0.31% Shell 0.45% Batchfile 0.01% Perl 0.77% OCaml 0.27% Lex 0.38% Vim Script 0.06%

asdl-archive's Introduction

Archive of ASDL (imported from SourceForge CVS)

Hi! For those of you here in the 20th century, this may appear strange.

This is an archived repo for ASDL: "The Zephyr Abstract Syntax Description Lanuguage".

Most of the interesting parts are in the asdlGen subdir. Not sure what the rest is......

The original academic paper on ASDL was written in 1997.

The code in this repo is incredibly old. The most recent commit was 2002.

It was imported from SourceForge CVS over to Git & Github.

Modern usage

ASDL retains relevance because it is still ued to describe the Python AST.

See this blog post for more details on what ASDL is (and why it's still useful). It is written by the Oil Shell people.

This is the only Git commit actually written by a human. All the other commits were automatically generated from the CVS respository (see below).

Importing

I had to import it to git with cvs2svn 2.5.0 (also supports cvs2git).

The sequence of comands to import was as follows (directly from my shell history):

wget "https://github.com/mhagger/cvs2svn/releases/download/2.5.0/cvs2svn-2.5.0.tar.gz"
tar -tf cvs2svn-2.5.0.tar.gz
tar -xf cvs2svn-2.5.0.tar.gz # Generates a directory called "cvs2svn-2.5.0"
rsync -ai a.cvs.sourceforge.net::cvsroot/asdl/ cvs # Downloads the CVS repo from SourceFourge
cd cvs2svn-2.5.0/
python2 cvs2git --blobfile=../blob.dat --dumpfile=../dump.dat --encoding=utf8 --encoding=latin1 --retain-conflicting-attic-files ../cvs
cd ..
git init asdl-git
cat blob.dat dump.dat | git --git-dir=asdl-git/.git fast-import
# Tada
git log
git status

Then, I wrote this commit (adding a modern readme). This is the last commit there will ever be, because I'm archiving the repo :)

asdl-archive's People

Contributors

techcable avatar

Stargazers

 avatar

Watchers

 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.