9b4a3b9e57
Comme pendant l'évaluation et son objet cache, parsedRules est construit au fur et à mesure du parsing sous la forme [dottedName]: parsedRule Cela nous permet pendant le parsing de faire l'annotation de type et de faire moins de boulot lors de l'évaluation Problème : - (presque fixé) dans l'inversion on produisait des références de variables pour le JSX => boucle infinie - dans chiffre d'affaire, notre implé un peu bizarre fait une référence de variables a priori circulaire, mais gérée par les variations. Or pendant le parsing on parcourt évidemment toutes les branches sans les évaluer. Sachant qu'on implémente ce cache parsedRules surtout pour les unités, peut on garder la formule ainsi et simplement stocker 'chiffre d'affaires': 'currently being parsed' pour éviter la boucle infinie ? |
||
---|---|---|
.vscode | ||
cypress | ||
source | ||
test | ||
.babelrc | ||
.eslintrc.yaml | ||
.flowconfig | ||
.gitconfig | ||
.gitignore | ||
.prettierrc | ||
CONTRIBUTION.md | ||
LICENSE | ||
README.md | ||
_redirects | ||
circle.yml | ||
componentTestSetup.js | ||
crédits-icônes.yaml | ||
cypress.json | ||
formeJuridique.yaml | ||
index.html | ||
manifest.webmanifest | ||
netlify.toml | ||
package.json | ||
postcss.config.js | ||
serve.infrance.json | ||
serve.mon-entreprise.json | ||
yarn.lock |
README.md
This repository powers mycompanyinfrance.fr and mon-entreprise.fr.
It's a React, Redux, Webpack website hosted on Netlify with no backend.
The hiring simulator, available on both websites, embeds a model of the french tax system as a YAML domain specific language. It enables displaying the computing rules on the Web and having a single source of logic for both the computation engine (a JS library) and the generated end-user conversation-like form.
The engine with the French tax law is available as a NPM module and explained on the wiki.
Developed by the french public startup incubator, beta.gouv.fr, with the help of the social security contributions collector, URSSAF.
Most of the documentation (including issues and the wiki) is written in french, please raise an issue if you are interested and do not speak French.
Contribute
If you want to contribute to this application, please check out CONTRIBUTION.md.
Supported browsers
The website will run well on modern browsers. Internet Explorer is not supported anymore (it should work but with visual glitches and performance issues).
This compatibility is tested thanks to BrowserStack's free open source program.