Functional programming and equations

As a personal experiment, in order to try to learn better about programming and the theory of a formal language, etc., I try to write a language that basically takes a bunch of equations and solves more or less automatically or heuristically for unknowns. I am trying to do this by writing an interpreter in C.

All that is not very important, though ... more importantly, I discovered functional programming in the last few days (by which I mean that I read the Wikipedia entry and the Haskell short tutorial), and it seems to be with a very similar to what I want to do.

I guess I'm wondering if there are any other languages ​​that I should pay attention to, or any non-functional languages ​​that have libraries or programs that try to do such things, so that I can better understand what I'm going to do. ?

Also, are there any good links for writing translators, etc.?

Thanks.

PS Oh, and I know that I can and should use Google. I'm on the side. Most of all I am looking for a team of "second opinions" about what is good and what people used before. Also, I'm trying to get to know the community a little better since I'm new here. Thank you for your patience :-)

+3
source share
2 answers

: , , .

, :

1) .

" " - , , IMHO:-) .

- . , C - , , Lisp .

, - "" , , .

, , - this .

2) .

Haskell - ( - , ). OCaml . , , . XSLT, -.

, , Ruby Python. , "" . , - , .

3) ..

, , , , . - MIT , , . , . TCC . - , potion - , x86 "-" (, x86 ).

SO (3) .

+4

, , , " " , , " ". .

, , , . , .

, - Greenspun Tenth Rule,

C Fortran , , , Common Lisp.

"Common Lisp" " ".

, ( ), ( ).

Haskell. Haskell , - - .

+2

Source: https://habr.com/ru/post/1714814/


All Articles