Software Open Access

A Modern Compiler for the French Tax Code - Artifact

Denis Merigoux; Raphaël Monat; Jonathan Protzenko


Dublin Core Export

<?xml version='1.0' encoding='utf-8'?>
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
  <dc:creator>Denis Merigoux</dc:creator>
  <dc:creator>Raphaël Monat</dc:creator>
  <dc:creator>Jonathan Protzenko</dc:creator>
  <dc:date>2021-01-22</dc:date>
  <dc:description>In France, income tax is computed from taxpayers’ individual returns, using an algorithm that is authored, designed and maintained by the French Public Finances Directorate (DGFiP). This algorithm relies on a legacy custom language and compiler originally designed in 1990, which unlike French wine, did not age well with time. Owing to the shortcomings of the input language and the technical limitations of the compiler, the algorithm is proving harder and harder to maintain, relying on ad-hoc behaviors and workarounds to implement the most recent changes in tax law. Competence loss and aging code also mean that the system does not
benefit from any modern compiler techniques that would increase confidence in the implementation. 

We overhaul this infrastructure and present Mlang, an open-source compiler toolchain whose goal is to replace the existing infrastructure. Mlang is based on a reverse-engineered formalization of the DGFiP’s system, and has been thoroughly validated against the private DGFiP test
suite. As such, Mlang has a formal semantics; eliminates previous hand-written workarounds in C; compiles to modern languages (Python); and enables a variety of instrumentations, providing deep insights about the essence of French income tax computation. The DGFiP is now officially transitioning to Mlang for their production system.

This is the artifact accompanying the published paper at Compiler Construction 2021. 

 </dc:description>
  <dc:identifier>https://zenodo.org/record/4456774</dc:identifier>
  <dc:identifier>10.5281/zenodo.4456774</dc:identifier>
  <dc:identifier>oai:zenodo.org:4456774</dc:identifier>
  <dc:relation>info:eu-repo/grantAgreement/EC/H2020/681393/</dc:relation>
  <dc:relation>doi:10.1145/3446804.3446850</dc:relation>
  <dc:relation>doi:10.5281/zenodo.4415607</dc:relation>
  <dc:rights>info:eu-repo/semantics/openAccess</dc:rights>
  <dc:rights>https://opensource.org/licenses/GPL-3.0</dc:rights>
  <dc:subject>compiler</dc:subject>
  <dc:subject>tax code</dc:subject>
  <dc:subject>legal expert system</dc:subject>
  <dc:title>A Modern Compiler for the French Tax Code - Artifact</dc:title>
  <dc:type>info:eu-repo/semantics/other</dc:type>
  <dc:type>software</dc:type>
</oai_dc:dc>
89
39
views
downloads
All versions This version
Views 8944
Downloads 3926
Data volume 79.8 GB5.7 GB
Unique views 6038
Unique downloads 3222

Share

Cite as