Truly declarative language?

后端 未结 19 2175
梦毁少年i
梦毁少年i 2021-02-04 01:26

Does anyone know of a truly declarative language? The behavior I\'m looking for is kind of what Excel does, where I can define variables and formulas, and have the formula\'s re

相关标签:
19条回答
  • 2021-02-04 02:22

    Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio

    x = 10
    y = 20
    z = function() return x + y; end
    x = 50
    = z()
    70

    0 讨论(0)
提交回复
热议问题