hhvm / hack-router Goto Github PK
View Code? Open in Web Editor NEWRequest routing for HackLang
License: MIT License
Request routing for HackLang
License: MIT License
This should be done before 1.0. Motivation:
However, until we drop PHP support, keeping some interoperability (e.g. conversion functions) would be reasonable.
cc @usox, @RyanGordon, @asuth, @acrylic-origami, @bobertforever for feedback
For example, https://gist.github.com/fredemmott/38865631ec219f2643d94f33d1af7aaf has a load of (hhvm|hack) regexps. It could be smarter about:
foo|bar
regexps: expanding them may be helpfulIn simple cases, projects using this are going to want a bin/build-router.php or similar. A working starting point can be generated.
Hi folks,
I was trying to run examples with recent hhvm and got errors:
$ hhvm --version
HipHop VM 4.111.0 (rel)
Compiler: 1621979252_828765612
Repo schema: d1ae8e21bf3419a65f12a010527485564e719d07
$ hhvm BaseRouterExample.php
Fatal error: Found top-level code in <path>/hack-router/examples/BaseRouterExample.php on line 17
Could this be addressed? What is the best way to avoid it?
Biggest risk is messing up pattern parser compatibility; this won't be an issue with hack-router-codegen, but will if using things directly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.