中文
相关论文

相关论文: Dependent Types for JavaScript

200 篇论文

TypeScript is a quickly evolving superset of JavaScript with active development of new features. Our paper seeks to understand how quickly these features are adopted by the developer community. Existing work in JavaScript shows the adoption…

软件工程 · 计算机科学 2023-03-20 Joshua D. Scarsbrook , Mark Utting , Ryan K. L. Ko

Declarative styles such as functional programming (FP) are rapidly gaining ground on their imperative cousins, including procedural and object-oriented programming. The shift is subtle because it is happening within the context of…

软件工程 · 计算机科学 2016-06-22 Morgan C. Benton , Nicole M. Radziwill

Type inference for dynamic programming languages such as Python is an important yet challenging task. Static type inference techniques can precisely infer variables with enough static constraints but are unable to handle variables with…

软件工程 · 计算机科学 2022-02-10 Yun Peng , Cuiyun Gao , Zongjie Li , Bowei Gao , David Lo , Qirun Zhang , Michael Lyu

Language Workbenches offer language designers an expressive environment in which to create their DSLs. Similarly, research into mechanised meta-theory has shown how dependently typed languages provide expressive environments to formalise…

编程语言 · 计算机科学 2023-01-31 Jan de Muijnck-Hughes , Guillaume Allais , Edwin Brady

Typed Clojure is an optional type system for Clojure, a dynamic language in the Lisp family that targets the JVM. Typed Clojure enables Clojure programmers to gain greater confidence in the correctness of their code via static type checking…

编程语言 · 计算机科学 2018-12-11 Ambrose Bonnaire-Sergeant , Rowan Davies , Sam Tobin-Hochstadt

We present OBJS, a new transpiler project featuring the implementation of typified variables and functions call management in Javascript, as well as several new operators and syntax patterns that could make coding more agile and versatile.…

编程语言 · 计算机科学 2024-11-14 Alessandro Rosa

The JSC language is a superset of JavaScript designed to ease the development of large web applications. This language extends JavaScripts own object system by isolating code in a class declaration, simplifying multiple inheritance and…

编程语言 · 计算机科学 2009-12-16 Artur Ventura

Real world programming languages crucially depend on the availability of computational effects to achieve programming convenience and expressive power as well as program efficiency. Logical frameworks rely on predicates, or dependent types,…

计算机科学中的逻辑 · 计算机科学 2017-12-07 Matthijs Vákár

In this tutorial I will present how a combination of linear and dependent type can be useful to describe different properties about higher order programs. Linear types have been proved particularly useful to express properties of functions;…

编程语言 · 计算机科学 2013-07-01 Marco Gaboardi

We present an approach to develop folds for nested data types using dependent types. We call such folds $\textit{dependently typed folds}$, they have the following properties. (1) Dependently typed folds are defined by well-founded…

计算机科学中的逻辑 · 计算机科学 2018-06-18 Peng Fu , Peter Selinger

Static verification of a program source code correctness is an important element of software reliability. Formal verification of software programs involves proving that a program satisfies a formal specification of its behavior. Many…

Quality assurance is of great importance for deep learning (DL) systems, especially when they are applied in safety-critical applications. While quality issues of native DL applications have been extensively analyzed, the issues of…

软件工程 · 计算机科学 2022-09-13 Lili Quan , Qianyu Guo , Xiaofei Xie , Sen Chen , Xiaohong Li , Yang Liu

This paper presents an approach to dynamic component composition that facilitates creating new composed components using existing ones at runtime and without any code generation. The dynamic abilities are supported by extended type notion…

软件工程 · 计算机科学 2014-09-03 Efim Grinkrug

Syntactic Transformer language models aim to achieve better generalization through simultaneously modeling syntax trees and sentences. While prior work has been focusing on adding constituency-based structures to Transformers, we introduce…

计算与语言 · 计算机科学 2024-07-25 Yida Zhao , Chao Lou , Kewei Tu

The expression problem describes how most types can easily be extended with new ways to produce the type or new ways to consume the type, but not both. When abstract syntax trees are defined as an algebraic data type, for example, they can…

编程语言 · 计算机科学 2024-03-12 David Binder , Ingo Skupin , Tim Süberkrüb , Klaus Ostermann

This paper proposes a method for deriving formal specifications of systems. To accomplish this task we pass through a non trivial number of steps, concepts and tools where the first one, the most important, is the concept of method itself,…

软件工程 · 计算机科学 2010-09-21 Manuel Mazzara

Elixir is a dynamically-typed functional language running on the Erlang Virtual Machine, designed for building scalable and maintainable applications. Its characteristics have earned it a surging adoption by hundreds of industrial actors…

编程语言 · 计算机科学 2024-01-01 Giuseppe Castagna , Guillaume Duboc , José Valim

Languages may encode similar meanings using different sentence structures. This makes it a challenge to provide a single set of formal rules that can derive meanings from sentences in many languages at once. To overcome the challenge, we…

计算与语言 · 计算机科学 2024-03-05 Laurestine Bradford , Timothy John O'Donnell , Siva Reddy

When scripts in untyped languages grow into large programs, maintaining them becomes difficult. A lack of explicit type annotations in typical scripting languages forces programmers to must (re)discover critical pieces of design information…

编程语言 · 计算机科学 2011-06-15 Sam Tobin-Hochstadt , Matthias Felleisen

Design patterns are distilled from many real systems to catalog common programming practice. However, some object-oriented design patterns are distorted or overly complicated because of the lack of supporting programming language constructs…

编程语言 · 计算机科学 2019-06-03 Gerald Baumgartner , Konstantin Läufer , Vincent F. Russo