Giter Club home page Giter Club logo

hy's People

Contributors

agentultra avatar algernon avatar allison-casey avatar berkerpeksag avatar brandonwillard avatar cwebber avatar farhaven avatar foxboron avatar gilch avatar ikeviny avatar jd avatar jwilk avatar khinsen avatar kirbyfan64 avatar kodiologist avatar lafrenierejm avatar olasd avatar paultag avatar peaceamongworlds avatar proppy avatar pyx avatar refi64 avatar scauligi avatar theanalyst avatar tianon avatar tuturto avatar vodik avatar willkg avatar willyfrog avatar zackmdavis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hy's Issues

rpython?

See if we can integrate rpython into hy off processed asts

quickstart

We need two things added to the docs:

  1. a quickstart for eager future hy users to read and get up and running with hylarity in minutes
  2. a quickstart for eager future hy contributors to read and get up and developing to add to the epic hyjinx

Also, the README should point to the docs on rtfd.

(with foo) // (with-as foo bar)

for stuff like files or context managed functions

   (with foo
     (baz))

to

with foo:
    baz()

or something. also with-as or something:

   (with-as foo e
     (baz-with-e e))

to

with foo as e:
    baz_with_e(e)

We just dropped python 2.6 support

I've just droped py2.6 from travis and tox because I added importlib (I was concerned about import not picking up my pep302 import shims, because I want to move macros to .hy files)

I think this'll just require adding importlib to the tox / travis setup, but it will raise an Exception for non-py2.6 installs, which means we can't set it globally.

@jonathanmarvens want to give it a go?

Allow for unquoting quoted forms

Blocked by #51

(Syntax requires that we're in a quoted form)

Allow for stuff like

(quote (foo (unquote bar)))

which aught to return

HyExpression([HySymbol("foo"), bar])

(to allow access of the local scope)

fn/do

(fn []
  (do (print "Foo")))

breaks

"Branch Manglers"

Stuff like:

((fn [x] (* x x) 2)

Should work. The issue with the current implementation:

Module(body=[Expr(value=Call(func=FunctionDef(name='_hy_anon_fn_1', args=arguments(args=[Name(id='x', ctx=Param())], vararg=None, kwarg=None, defaults=[]), body=[Return(value=BinOp(left=Name(id='x', ctx=Load()), op=Mult(), right=Name(id='x', ctx=Load())))], decorator_list=[]), args=[Num(n=2)], keywords=[], starargs=None, kwargs=None))])

Which, of course, will TypeError on us.

We need to do (basically) the following:

(fn [x] (* x x))  ; where fn is called by internal name _hy_anon_fn_00001 or so
(_hy_anon_fn_00001 2)

which requires we "hoist" something from inside a statement out and above the current expression.

Very sucky. Blocking lots of work.

Quoted Forms

Blocked by #50

(need to ensure imports on the fly, perhaps not entirely blocked)

Allow for stuff like

(quote (foo bar))

which aught to return

HyExpression([HySymbol("foo"), HySymbol("bar")])

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.