Giter Club home page Giter Club logo

afl's People

Contributors

alexknauth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

suzannesoy

afl's Issues

Unhygienic variant?

Hello!

I'm using afl with typed/racket and my type-expander library.

The type-expander library works by overriding define, lambda and so on. Due to afl's hygiene, #λ(…) expands to a use or lambda from racket/base, not the intended lambda from the type-expander library. Fortunately, since there are no argument or return types to expand within #λ(…), the difference does not matter, but I suppose that in other cases it could matter.

Would it make sense to also have an unhygienic version of afl directly within this package?


I needed a unhygienic version, to circumvent an incompatibility between afl and a modified version of scribble/lp2 that I use, the incompatibility is most likely on my side, but on the short term dropping hygiene seemed to do the trick, and I'll get back to my issue later. I have therefore already created the aful package, which provides #lang aful (exactly the same as afl) and #lang aful/unhygienic (unhygienic version).

If you think it's best to merge these changes in here, then I can open a PR, otherwise I can leave aful as a separate package. You can see the changes here master...jsmaniac:unhygienic if you want (this diff also includes some changes to render correctly when it appears in scribble documents, using a patched version of scribble).

Regards,
Georges Dupéron

Build fails on pkg-build.racket-lang.org

Hello,

I recently wrote a small package which uses #lang afl, unfortunately it does not build on pkg-build.racket-lang.org, because afl fails to build there:

http://pkg-build.racket-lang.org/server/built/fail/afl.txt

…
raco setup: making: <pkgs>/afl/afl/tests
raco setup:  in <pkgs>/afl/afl/tests
/home/racket/build-pkgs/user/.racket/6.6/pkgs/afl/afl/tests/test-afl-racket.rkt:1:0: bad language path following at-exp
  compilation context...:
   /home/racket/build-pkgs/user/.racket/6.6/pkgs/afl/afl/tests/test-afl-racket.rkt
  context...:
   /home/racket/build-pkgs/racket/collects/syntax/readerr.rkt:15:2: -raise-read-error
   /home/racket/build-pkgs/racket/collects/syntax/module-reader.rkt:295:4: -read-syntax
   /home/racket/build-pkgs/user/.racket/6.6/pkgs/hygienic-reader-extension/hygienic-reader-extension/extend-reader.rkt:11:2
   /home/racket/build-pkgs/user/.racket/6.6/pkgs/afl/afl/lang/reader.rkt:12:5
   /home/racket/build-pkgs/racket/collects/syntax/modcode.rkt:62:2: reader
   /home/racket/build-pkgs/racket/collects/compiler/cm.rkt:634:2: do-check
   /home/racket/build-pkgs/racket/collects/compiler/cm.rkt:722:4
   /home/racket/build-pkgs/racket/collects/compiler/compiler.rkt:169:4: worker
   /home/racket/build-pkgs/racket/collects/compiler/compiler.rkt:92:2: compile-directory-visitor23
   /home/racket/build-pkgs/racket/collects/setup/setup-core.rkt:1038:2: compile-cc
   /home/racket/build-pkgs/racket/collects/setup/setup-core.rkt:1114:10: for-loop
   /home/racket/build-pkgs/racket/collects/setup/setup-core.rkt:70:0: setup-core
   /home/racket/build-pkgs/racket/collects/setup/setup.rkt:65:3
   /home/racket/build-pkgs/racket/collects/pkg/main.rkt:17:0: setup
   (submod /home/racket/build-pkgs/racket/collects/pkg/main.rkt main): [running body]

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.