Packages

C compiler built with Elixir. This library will only allow you to compile basic C programs.

Current section

Files

Jump to
exc lib helpers list_processor.ex
Raw

lib/helpers/list_processor.ex

defmodule Helpers.TokenListProcessor do
@moduledoc false
defp proc_list([]), do: []
defp proc_list([ head | tail]), do: [ head.expression | proc_list(tail)]
def generate_list_of_expressions(gtl) do
proc_list(gtl)
end
end