Thinking of the limit as a functional..? I understand 'functionals' as functions of functions, for example:
$$ S[y(x)]= \int_{t_1}^{t_2} \sqrt{1+(y')^2} dx$$
Which is the famous arc length integral
Now, in a similar way, a limit we can write as:
$$L(a, [y(x)] ) = \lim_{x \to a} y(x) \tag{1}$$
In this way, we can think of a limit as a function of a 'function' and a 'number'. So, would it be correct to call the above object a functionals? Why/Why not?
Examples of (1):
$$L(0,\frac{\sin x}{x}) = \lim_{x \to 0} \frac{\sin x}{x} = 1$$
$$L(0,e^x) = 1$$
etc

This doubt mainly emerged while I was answering through this post
 A: Why not? There are lots of examples in which old concepts can be seen as functionals or operators from some abstract space to another abstract space or the real numbers. And, indeed, now this seems obvious to us but this is the case just because we are used to functional analysis point of view, where it is natural to consider functions just as points of that space; this was a great revolution in analysis though.
The only one needs to check is that the definition is well defined. As one defines the derivative as an operator that to every function (with some regularity) associates another function (its derivative), one can define the operator in the following way:
$$L : \mathbb{\overline{R}} \times V \rightarrow \mathbb{\overline{R}}$$ defined in the following way (note we allow it to take values in the extended real line, since we want to allow the cases of $+\infty $ and $ - \infty$):
$$ L (y, f) := \lim_{x \rightarrow y}f(x)$$
Now, to have a well-defined operator $L$ we need the limit to be unique, and this is not an issue in the real line since the real line is a Hausdorff space. Nevertheless, we need to be sure the limit exists, otherwise what would be the real number that the $L$ operator gives us in the case we consider the point $(\infty, sin(x))$? It would be:
$$ L (\infty, sin(x)) := \lim_{x \rightarrow \infty}\sin(x)$$ which does not exist!
Solved this problem, there is no limitation in viewing the limit as an operator. The only thing is that, indeed, to solve this existence issue one needs to impose strong restrictions on the vector space $V$ in which we take functions or to the space where we pick our points (maybe a compact subset of $\mathbb{\overline{R}}$).
A: A functional is just a function whose domain and target space are of a specific type. Typically the domain is assumed to be a space like $L^p, C^k$, or some other Hilbert/Banach/Frechet space (or maybe you may not even want all this structure, and just assume the domain is some real/complex vector space) etc, while the target space is assumed to be a field $\Bbb{R}$ or $\Bbb{C}$. So, tbh this whole "function vs functional" business is in my opinion a pointless terminology chasing game with no mathematical content.
Anyway, here's what you can do. Let
\begin{align}
S:=\{f:\Bbb{R}\to\Bbb{C}\,|\,\text{for every $a\in \Bbb{R}$, $\lim\limits_{x\to a}f(x)$ exists in $\Bbb{C}$}\}
\end{align}
Now, we can define the "limiting" operation as $L:\Bbb{R}\times S\to \Bbb{C}$ as
\begin{align}
L(a,f):=\lim_{x\to a}f(x).
\end{align}
So, sure, the domain of $L$ is a vector space and it maps into a field, so you can call this a functional (though it is not a linear functional, only for fixed $a$, is $L(a,\cdot)$ linear). If you want to talk about limits at $\infty$, things can get more tricky since the domain will no longer be a vector space, so I guess you can't call them a functional in the typical sense of the word.
Note also, that sometimes the term "functional" means "continuous linear map from a (topological/normed) vector space into the field ($\Bbb{R}$ or $\Bbb{C}$)". So, if you want to talk about continuity, you of course have to equip $S$ with a topology, you can of course do this, but as of right now I don't see a point to this. Terminology can be confusing and is not always standardized; one must always refer to contextual clues for which meaning is intended.
As you can see, it is a little unweidly to define $L$ in full generality; this is not to say it isn't useful to think of it in this way. There are some problems where viewing a "basic vanilla" object from a more abstract perspective leads to quicker solutions (sometimes it's just a simple rephrasing which allows us to invoke more power theorems, eg from functional analysis)... though I can't think of any super convincing examples off the top of my head.
A: It's not been pointed out yet, but your syntax is wrong. In "$L(0,e^x)$" the variable "$x$" is undefined, so the whole thing is meaningless if you want $L$ to be a function. The point is that not all syntax is literally a function. The limit notation includes a limiting variable, which is not expressible in terms of functions in the usual sense. It is the same with summation; in "$\sum_{k=1}^n f(k)$" the "$f(k)$" is an expression with one free variable $k$, not a function, and neither is "$\sum_{k=1}^n$" a function since it binds the variable $k$. It is also the same with quantifiers; in "$∀x ∃y ( Q(x,y) )$" the "$∀x$" is certainly not a function.
So if you want to treat the limiting operation as an abstract mathematical object, you need to reify the relevant expressions and syntactic structure. peek-a-boo has shown you one way to do that for limits, but I will show you how to do that for summation to make the underlying concept clearer. Reification simply means to capture the 'essence' of a concept by an object.
We typically define summation for commutative rings. Given any commutative ring $(R,0,1,+,·)$ and any function $f : D→R$ with $D⊆ℤ$, we can define $S(f,m,n) = \sum_{k=m}^n f(k)$ for every $m,n∈D$. Here $f$ reifies the expression "$f(k)$" with free variable $k$, in the sense that applying $f$ to the value of an expression "$t$" captures the essence of the expression "$f(t)$" (i.e. the value of "$f(k)$" after substituting the free variable by the term "$t$"). And $S$ reifies the concept of $\sum_{k=m}^n E$ built from expressions E,m,n where $E$ has one free variable $k$.
Importantly, notice that the free variable does matter in the syntactic constructions; "$\sum_{k=m}^n f(i)$" would not mean $\sum_{k=m}^n f(k)$. But this issue of matching free variables does not appear in the reified parts. This commonly occurs in reifying most mathematical notation, including quantifiers, summations/products, limits and so on.
Also, if you do want to formalize reasoning about limits in a clean algebraic manner and also be able to deal with undefined limits algebraically, then the best approach is to extend the possible limit values to include some sentinel value, say $null$, and then define $L(f,x)$ to be the limit of $f$ at $x$ if it exists but $null$ otherwise, for any function $f : D→ℂ$ with $x∈D⊆ℂ$.
