<commit_before><!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!-- Consider adding a manifest.appcache: h5bp.com/d/Offline -->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
  <meta charset="utf-8">

  <!-- Use the .htaccess and remove these lines to avoid edge case issues.
       More info: h5bp.com/b/378 -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

  <link rel="icon" href="https://haxe.org/favicon.ico" type="image/x-icon"/>
  <link rel="shortcut icon" type="image/x-icon" href="https://haxe.org/favicon.ico" />

  <title>Try Haxe !</title>
  <meta name="description" content="Haxe is an amazing multiplatform programming language. Check it out !">
  <meta name="author" content="Haxe Community">
  <meta property="og:image" content="https://try.haxe.org/share.png" />

  <!-- Mobile viewport optimized: h5bp.com/viewport -->
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">

  <!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->
  <link rel="stylesheet" type="text/css" href="https://haxe.org/css/bootstrap.min.css"/>
  <link rel="stylesheet" href="lib/bootstrap/css/bootstrap-responsive.min.css" />

  <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,700italic,400italic' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" type="text/css" href="https://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css">


  <link rel="stylesheet" href="lib/CodeMirror-4/lib/codemirror.css"/>
  <link rel="stylesheet" href="lib/CodeMirror-4/addon/hint/show-hint.css"/>
  <link rel="stylesheet" href="lib/CodeMirror-4/theme/rubyblue.css"/>
  <link rel="stylesheet" href="lib/CodeMirror-4/theme/cobalt.css"/>
  <link rel="stylesheet" href="style.css"/>

  <link rel="stylesheet" href="lib/CodeMirror-4/addon/fold/foldgutter.css">
  <link rel="stylesheet" href="lib/CodeMirror-4/addon/dialog/dialog.css">
  <link href="lib/CodeMirror-4/addon/lint/lint.css" type="text/css" rel="stylesheet">
    
  <link rel="stylesheet" type="text/css" href="haxe-nav.css"/>
</head>

<body data-api=".">
  <nav class="section nav dark">
  	<div class="navbar navbar-fixed-top navbar-inverse">
  		<div class="navbar-inner">
  			<button class="btn btn-navbar" data-target=".nav-collapse" data-toggle="collapse" type="button"><span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></button> <a class="brand haxe-logo" href="https://haxe.org/"><img alt="Haxe" height="21" onerror="this.src='https://haxe.org/img/haxe-logo-horizontal-on-dark.png'" src="https://haxe.org/img/haxe-logo-horizontal-on-dark.svg" width="107" /></a>
  			
  			<a class="brand sub try" href="./" onclick="return confirm('Are you sure?')">TRY</a>

  			<div class="nav-collapse collapse">
  				<ul class="nav">
  					<li><a href="./" onclick="return confirm('Are you sure?')"><i class="fa fa-file"></i> New</a></li>
  					<li class="dropdown">
  						<a class="dropdown-toggle" data-toggle="dropdown" href="#">Examples <b class="caret"></b></a>
  						<ul class="dropdown-menu">
  							<li><a class="hx-example" data-value="1" href="#example1">Hello world</a></li>
  							<li><a class="hx-example" data-value="2" href="#example2">Inheritance</a></li>
  							<li><a class="hx-example" data-value="17" href="#example17">Generic types</a></li>
  							<li><a class="hx-example" data-value="3" href="#example3">Enums</a></li>
  							<li><a class="hx-example" data-value="4" href="#example4">Maps</a></li>
  							<li><a class="hx-example" data-value="5" href="#example5">Abstracts</a></li>
  							<li><a class="hx-example" data-value="6" href="#example6">Static Extension</a></li>
  							<li><a class="hx-example" data-value="7" href="#example7">String interpolation</a></li>
  							<li><a class="hx-example" data-value="8" href="#example8">Array Comprehension</a></li>
  							<li><a class="hx-example" data-value="9" href="#example9">Pattern Matching - Array matching</a></li>
  							<li><a class="hx-example" data-value="21" href="#example21">Pattern Matching - Structure matching</a></li>
  							<li><a class="hx-example" data-value="18" href="#example18">Pattern Matching - Enum matching</a></li>
  							<li><a class="hx-example" data-value="10" href="#example10">Iterators</a></li>
  							<li><a class="hx-example" data-value="11" href="#example11">Function Bindings</a></li>
  							<li><a class="hx-example" data-value="12" href="#example12">Metadata</a></li>
  							<li><a class="hx-example" data-value="19" href="#example19">Load Json using Http</a></li>
  							<li><a class="hx-example" data-value="13" href="#example13">Access Control</a></li>
  							<li><a class="hx-example" data-value="14" href="#example14">Inline constructors</a></li>
  							<li><a class="hx-example" data-value="15" href="#example15">Conditional compilation</a></li>
  							<li><a class="hx-example" data-value="16" href="#example16">StringTools</a></li>
  							<li><a class="hx-example" data-value="22" href="#example22">Unit testing</a></li>
  							<li><a class="hx-example" data-value="20" href="#example20">Drawing</a></li>
  						</ul>
  					</li>
  					<li><a href="#hx-about" onclick="document.getElementById('about-tab').click();return false">About</a></li>
  					
  					<li class="divider"></li>
  					<!-- required submenu  on every subsite, put class="active" on   -->
  					<li class="dropdown">
  						<a class="dropdown-toggle" data-toggle="dropdown" href="#">Learn Haxe <b class="caret"></b></a>

  						<ul class="dropdown-menu">
  							<li><a href="https://haxe.org/documentation/">Introduction</a></li>
  							<li class="divider"></li>
  							<li><a href="https://haxe.org/manual/">Manual</a></li>
  							<li><a href="https://api.haxe.org">API Documentation</a></li>
  							<li class="divider"></li>
  							<li class="active"><a href="https://try.haxe.org">Try Haxe</a></li>
  							<li><a href="https://lib.haxe.org">Haxelib</a></li>
  							<li><a href="http://code.haxe.org">Code Cookbook</a></li>
  						</ul>
  					</li>
  					<li class=" dropdown">
  						<a class="dropdown-toggle" data-toggle="dropdown" href="#">Connect <b class="caret"></b></a>
  						<ul class="dropdown-menu">
  							<li><a href="https://github.com/clemos/try-haxe/"><i class="fa fa-github"></i> Github</a></li>
  							<li><a href="https://github.com/clemos/try-haxe/issues"><i class="fa fa-github"></i> Bug reports</a></li>
  							<li><a href="https://stackoverflow.com/questions/tagged/haxe"><i class="fa fa-stack-exchange"></i> Stack Overflow</a></li>
  							<li><a href="https://groups.google.com/group/haxelang?hl=en"><i class="fa fa-envelope-o"></i> Google Groups</a></li>
  							<li><a href="https://webchat.freenode.net/?channels=haxe"><i class="fa fa-comments-o"></i> IRC</a></li>
  							<li><a href="https://haxe.org/blog"><i class="fa fa-rss"></i> Blog</a></li>
  							<li class="divider"></li>
  							<li><a href="https://plus.google.com/communities/103302587329918132234"><i class="fa fa-google-plus"></i> Google+</a></li>
  							<li><a href="https://www.facebook.com/haxe.org/"><i class="fa fa-facebook"></i> Facebook</a></li>
  							<li><a href="https://twitter.com/search?q=%23haxe"><i class="fa fa-twitter"></i> #haxe</a></li>
  							<li><a href="https://twitter.com/haxelang"><i class="fa fa-twitter"></i> @haxelang</a></li>
  							<li><a href="https://twitter.com/haxe_org"><i class="fa fa-twitter"></i> @haxe_org</a></li>
  							<li class="divider"></li>
  							<li><a href="https://haxe.org/foundation/contact.html">Contact</a></li>
  						</ul>
  					</li>
  				</ul>

  			</div>
  		</div>
  	</div>
  </nav>
  <div role="main" class="container-fluid main">
    <div class="row-fluid">
      <div class="span6">
        <div class="compiler-in">
          <a href="#" class="compile-btn btn side-btn" data-loading-text="Compiling"><i class="fa fa-cog"></i> Build + Run</a>
          <ul class="nav nav-tabs">
            <li class="active"><a href="#hx-source" data-toggle="tab">Source</a></li>
            <li><a href="#hx-options" data-toggle="tab">Options</a></li>
            <li style="display:none"><a href="#hx-about" data-toggle="tab" id="about-tab">About</a></li>
          </ul>
          <div class="tab-content">
    	  	  <div class="tab-pane hx-source active" id="hx-source">
              <textarea name="hx-source" class="code haxe-source" rows="15">
class Test {
    static function main() {<commit_msg>Updated connect-menu<commit_after><!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!-- Consider adding a manifest.appcache: h5bp.com/d/Offline -->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
  <meta charset="utf-8">

  <!-- Use the .htaccess and remove these lines to avoid edge case issues.
       More info: h5bp.com/b/378 -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

  <link rel="icon" href="https://haxe.org/favicon.ico" type="image/x-icon"/>
  <link rel="shortcut icon" type="image/x-icon" href="https://haxe.org/favicon.ico" />

  <title>Try Haxe !</title>
  <meta name="description" content="Haxe is an amazing multiplatform programming language. Check it out !">
  <meta name="author" content="Haxe Community">
  <meta property="og:image" content="https://try.haxe.org/share.png" />

  <!-- Mobile viewport optimized: h5bp.com/viewport -->
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">

  <!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->
  <link rel="stylesheet" type="text/css" href="https://haxe.org/css/bootstrap.min.css"/>
  <link rel="stylesheet" href="lib/bootstrap/css/bootstrap-responsive.min.css" />

  <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,700italic,400italic' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" type="text/css" href="https://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css">


  <link rel="stylesheet" href="lib/CodeMirror-4/lib/codemirror.css"/>
  <link rel="stylesheet" href="lib/CodeMirror-4/addon/hint/show-hint.css"/>
  <link rel="stylesheet" href="lib/CodeMirror-4/theme/rubyblue.css"/>
  <link rel="stylesheet" href="lib/CodeMirror-4/theme/cobalt.css"/>
  <link rel="stylesheet" href="style.css"/>

  <link rel="stylesheet" href="lib/CodeMirror-4/addon/fold/foldgutter.css">
  <link rel="stylesheet" href="lib/CodeMirror-4/addon/dialog/dialog.css">
  <link href="lib/CodeMirror-4/addon/lint/lint.css" type="text/css" rel="stylesheet">
    
  <link rel="stylesheet" type="text/css" href="haxe-nav.css"/>
</head>

<body data-api=".">
  <nav class="section nav dark">
  	<div class="navbar navbar-fixed-top navbar-inverse">
  		<div class="navbar-inner">
  			<button class="btn btn-navbar" data-target=".nav-collapse" data-toggle="collapse" type="button"><span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></button> <a class="brand haxe-logo" href="https://haxe.org/"><img alt="Haxe" height="21" onerror="this.src='https://haxe.org/img/haxe-logo-horizontal-on-dark.png'" src="https://haxe.org/img/haxe-logo-horizontal-on-dark.svg" width="107" /></a>
  			
  			<a class="brand sub try" href="./" onclick="return confirm('Are you sure?')">TRY</a>

  			<div class="nav-collapse collapse">
  				<ul class="nav">
  					<li><a href="./" onclick="return confirm('Are you sure?')"><i class="fa fa-file"></i> New</a></li>
  					<li class="dropdown">
  						<a class="dropdown-toggle" data-toggle="dropdown" href="#">Examples <b class="caret"></b></a>
  						<ul class="dropdown-menu">
  							<li><a class="hx-example" data-value="1" href="#example1">Hello world</a></li>
  							<li><a class="hx-example" data-value="2" href="#example2">Inheritance</a></li>
  							<li><a class="hx-example" data-value="17" href="#example17">Generic types</a></li>
  							<li><a class="hx-example" data-value="3" href="#example3">Enums</a></li>
  							<li><a class="hx-example" data-value="4" href="#example4">Maps</a></li>
  							<li><a class="hx-example" data-value="5" href="#example5">Abstracts</a></li>
  							<li><a class="hx-example" data-value="6" href="#example6">Static Extension</a></li>
  							<li><a class="hx-example" data-value="7" href="#example7">String interpolation</a></li>
  							<li><a class="hx-example" data-value="8" href="#example8">Array Comprehension</a></li>
  							<li><a class="hx-example" data-value="9" href="#example9">Pattern Matching - Array matching</a></li>
  							<li><a class="hx-example" data-value="21" href="#example21">Pattern Matching - Structure matching</a></li>
  							<li><a class="hx-example" data-value="18" href="#example18">Pattern Matching - Enum matching</a></li>
  							<li><a class="hx-example" data-value="10" href="#example10">Iterators</a></li>
  							<li><a class="hx-example" data-value="11" href="#example11">Function Bindings</a></li>
  							<li><a class="hx-example" data-value="12" href="#example12">Metadata</a></li>
  							<li><a class="hx-example" data-value="19" href="#example19">Load Json using Http</a></li>
  							<li><a class="hx-example" data-value="13" href="#example13">Access Control</a></li>
  							<li><a class="hx-example" data-value="14" href="#example14">Inline constructors</a></li>
  							<li><a class="hx-example" data-value="15" href="#example15">Conditional compilation</a></li>
  							<li><a class="hx-example" data-value="16" href="#example16">StringTools</a></li>
  							<li><a class="hx-example" data-value="22" href="#example22">Unit testing</a></li>
  							<li><a class="hx-example" data-value="20" href="#example20">Drawing</a></li>
  						</ul>
  					</li>
  					<li><a href="#hx-about" onclick="document.getElementById('about-tab').click();return false">About</a></li>
  					
  					<li class="divider"></li>
  					<!-- required submenu  on every subsite, put class="active" on   -->
  					<li class="dropdown">
  						<a class="dropdown-toggle" data-toggle="dropdown" href="#">Learn Haxe <b class="caret"></b></a>

  						<ul class="dropdown-menu">
  							<li><a href="https://haxe.org/documentation/">Introduction</a></li>
  							<li class="divider"></li>
  							<li><a href="https://haxe.org/manual/">Manual</a></li>
  							<li><a href="https://api.haxe.org">API Documentation</a></li>
  							<li class="divider"></li>
  							<li class="active"><a href="https://try.haxe.org">Try Haxe</a></li>
  							<li><a href="https://lib.haxe.org">Haxelib</a></li>
  							<li><a href="http://code.haxe.org">Code Cookbook</a></li>
  						</ul>
  					</li>
  					<li class=" dropdown">
  						<a class="dropdown-toggle" data-toggle="dropdown" href="#">Connect <b class="caret"></b></a>
  						<ul class="dropdown-menu">
							<li><a href="https://github.com/HaxeFoundation" rel="external"><i class="fa fa-github"></i> Github</a></li>
							<li><a href="https://github.com/HaxeFoundation/haxe/issues" rel="external"><i class="fa fa-github"></i> Bug reports</a></li>
							<li><a href="https://stackoverflow.com/questions/tagged/haxe" rel="external"><i class="fa fa-stack-exchange"></i> Stack Overflow</a></li>
							<li><a href="http://community.haxe.org/" rel="external"><i class="fa fa-envelope-o"></i> Forums</a></li>
							<li><a href="https://gitter.im/HaxeFoundation/haxe" rel="external nofollow"><i class="fa fa-comments-o"></i> Chat</a></li>
							<li><a href="https://haxe.org/blog"><i class="fa fa-rss"></i> Blog</a></li>
							<li class="divider"></li>
							<li><a href="https://www.facebook.com/haxe.org/" rel="external"><i class="fa fa-facebook"></i> Facebook</a></li>
							<li><a href="https://twitter.com/search?q=%23haxe" rel="external"><i class="fa fa-twitter"></i> #haxe</a></li>
							<li><a href="https://twitter.com/haxelang" rel="external"><i class="fa fa-twitter"></i> @haxelang</a></li>
							<li><a href="https://twitter.com/haxe_org" rel="external"><i class="fa fa-twitter"></i> @haxe_org</a></li>
							<li class="divider"></li>
							<li><a href="https://haxe.org/foundation/contact.html" rel="external">Contact</a></li>
						</ul>
  					</li>
  				</ul>

  			</div>
  		</div>
  	</div>
  </nav>
  <div role="main" class="container-fluid main">
    <div class="row-fluid">
      <div class="span6">
        <div class="compiler-in">
          <a href="#" class="compile-btn btn side-btn" data-loading-text="Compiling"><i class="fa fa-cog"></i> Build + Run</a>
          <ul class="nav nav-tabs">
            <li class="active"><a href="#hx-source" data-toggle="tab">Source</a></li>
            <li><a href="#hx-options" data-toggle="tab">Options</a></li>
            <li style="display:none"><a href="#hx-about" data-toggle="tab" id="about-tab">About</a></li>
          </ul>
          <div class="tab-content">
    	  	  <div class="tab-pane hx-source active" id="hx-source">
              <textarea name="hx-source" class="code haxe-source" rows="15">
class Test {
    static function main() {
{'fraction_non_alphanumeric': 0.23084280409587038, 'fraction_numerical': 0.015472037808034207, 'mean_word_length': 3.6739416250328687, 'pattern_counts': {'":': 0, '<': 639, '<?xml version=': 0, '>': 637, 'https://': 50, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7334832', 'n_tokens_mistral': 7293, 'n_tokens_neox': 6427, 'n_words': 1046}