# Generate Julia expressions with Symbolics

**URL:** <https://discourse.julialang.org/t/generate-julia-expressions-with-symbolics/75528>\
**Category:** General Usage\
**Tags:** symbolics\
**Created:** [January 31, 2022, 6:43pm UTC](https://discourse.julialang.org/t/generate-julia-expressions-with-symbolics/75528 "2022-01-31T18:43:21Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Gravlax](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@Gravlax](https://discourse.julialang.org/u/Gravlax)\
**Post date:** [February 2, 2022, 8:30am UTC](https://discourse.julialang.org/t/generate-julia-expressions-with-symbolics/75528/3 "2022-02-02T08:30:26Z")

</div>

Thanks for the link. As far as I understand the docs `build_function()` build functions in different languages and with different types of parallelism.  
I was wondering whether there was a also way to create a single line expression just as sympy’s `julia_code` does?  
I could not pick it up from the docs; I’ve searched for wrong key words.

```julia
using Symbolics
@variables x a b c
D = Differential(x)
F = a*x^3 + b*x^2 + c*x
dFdx = expand_derivatives(D(F))
build_function(dFdx, x, a, b, c, target=Symbolics.JuliaTarget())
build_function(dFdx, x, a, b, c, target=Symbolics.CTarget())
build_function(dFdx, x, a, b, c, target=Symbolics.MATLABTarget())

```

---

_[View the full topic](https://discourse.julialang.org/t/generate-julia-expressions-with-symbolics/75528)._
