Skip to content

JerzyDziala/elixir_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a part of a bigger program that was used to analyse and transform a big number of ecto schemas in a large elixir codebase.

you can play with it in repl using the command:

stack repl

then you can use the parsing functions to turn strings into elixir ASTs

examples:

parse_expression "SomeModule.some_function 3, 4 + 1"

parse_module_level_expression "@some_attribute \"some string\""

parse_module "defmodule SomeModule do\n  alias Some.Other.Module\nend"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published