fsantanna / dyn-lex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dyn-lex

dyn-lex is an experiment with runtime lexical memory management for objects:

  • Objects are attached to lexical blocks.
  • Objects cannot escape their blocks.
  • Objects are deallocated with their blocks.
  • Objects are still garbage collected with long-lasting blocks.
  • All verification occurs at runtime.

Manual

Install

  1. Install gcc and java:
$ sudo apt install gcc default-jre
  1. Install dlex:
$ wget https://github.com/fsantanna/dyn-lex/releases/download/v0.2.0/install-v0.2.0.sh
$ sh install-v0.2.0.sh ./dlex/
  • You may want to
    • add ./dlex/ to your PATH
    • modify ./dlex/ to another destination
  1. Execute dlex:
$ ./dlex/dlex ./dlex/hello-world.ceu
[1,2,3]

About


Languages

Language:Kotlin 93.5%Language:Vim Script 6.0%Language:Shell 0.4%Language:Makefile 0.0%