# Global Vars removed from Crystal

**URL:** <https://metaruby.com/t/global-vars-removed-from-crystal/638>\
**Category:** Crystal Forum\
**Created:** [August 19, 2016, 12:29pm UTC](https://metaruby.com/t/global-vars-removed-from-crystal/638 "2016-08-19T12:29:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kofno](https://metaruby.com/user_avatar/metaruby.com/kofno/32/159_2.png) [@kofno](https://metaruby.com/u/kofno)\
**Post date:** [August 19, 2016, 12:29pm UTC](https://metaruby.com/t/global-vars-removed-from-crystal/638/1 "2016-08-19T12:29:44Z")

</div>

> <https://github.com/crystal-lang/crystal/commit/e872c716d0e936557b34c614efc5a4c24d845f79>
>
> The Global AST node is still around, and code associated to it too,
> because it's… used internally by the compiler to store pre-compiled
> regexes. The special $~ and $! are also represented as globals,
> in the syntax. We can improve this in the future.
