GameGamer43 + programming_languages   44

Write your own compiler - Introduction
Nothing in computer science sounds more challenging than writing a compiler.
Compiler_Programming  Compilers  programming_languages 
february 2017 by GameGamer43
Master recipe
A sum­mary of the major steps in cre­at­ing a new lan­guage in Racket. This recipe is not “mas­ter” in the sense of “com­pre­hen­sive.” Rather, it’s a core process that you can cus­tomize as you wish—except for a few points that are non-nego­tiable, which are sig­naled with the word must.
link: http://beautifulracket.com/appendix/master-recipe.html#a_qOMO8

suggestion

question

correction

comment

email
send comment to author
Programming_Languages  Compiler_Programming  Racket 
september 2016 by GameGamer43
DIY: Make Your Own Programming Language
This is part 1 in a series of blog posts that follow my work in creating a programming language.
Programming_Languages  Mattias_Appelgren  Compiler_Programming  Compilers 
may 2016 by GameGamer43
Posts in Enkel
Creating JVM language [PART 11] - Default parameters - April 17, 2016 Creating JVM language [PART 10] - Conditional statements - April 16, 2016 Creating JVM language [PART 9] - Returning values - April 14, 2016 Creating JVM language [PART 8] - Arithmetic operations - April 10, 2016 Creating JVM language [PART 7] - Methods - April 05, 2016 Creating JVM language [PART 6] - Switching to visitor oriented parsing - April 03, 2016 Creating JVM language [PART 5] - Adding 'class' scope - March 23, 2016 Creating JVM language [PART 4] - Specifing Enkel language features - March 22, 2016 Creating JVM language [PART 3] - Hello Enkel! - March 16, 2016 Creating JVM language [PART 2] - Minimum theory - March 11, 2016 Creating JVM language [PART 1] - Enkel - March 10, 2016
Compilers  Programming_Languages  Compiler_Programming  JVM  Java 
april 2016 by GameGamer43
Let’s Build A Simple Interpreter. Part 8.
Today we’ll talk about unary operators, namely unary plus (+) and unary minus (-) operators.
Compiler_Programming  Compilers  Programming_Languages  Programming  Interpreters 
january 2016 by GameGamer43
Compilers Fundamentals
Beginner level - 2n Intermediate level - n 2 Confirmed level - n Expert level - log(n)
Know usage of a compiler and/or an interpreter, know the differences between the two Know the different parts of a compiler from source code to machine code going through lexer, parser, intermediate representation and generator. Know what a VM and a Garbage Collector is Know the subtleties between a compiler, interpreter and VM and the computer architecture behind the target machine code. Know the optimization phase and enough assembly language Has wrote a compiler, interpreter or VM
Compiler_Programming  Compilers  Programming_Languages 
january 2016 by GameGamer43
Want to Write a Compiler? Just Read These Two Papers.
Imagine you don't know anything about programming, and you want learn how to do it. You take a look at Amazon.com, and there's a highly recommended set of books by Knute or something with a promising title, The Art of Computer Programming, so you buy them. Now imagine that it's more than just a poor choice, but that all the books on programming are at written at that level.
Compiler_Programming  Compilers  Programming_Languages 
december 2015 by GameGamer43
Making a Mini-Lisp: Introduction to Transpilers
This article is an introduction to Transpilers which is the process of translating one programming language into another. This process may be called compiling, transpiling, or interpreting depending on the nature of the input and output languages. Usually compiling is used to describe the process of translating a higher level language, like Java, into machine language, and traspiling is used to describe the process of translating one higher level language into another higher level language. In this article I will show you how to translate, or “transpile”, one high level language into another high level language. Translating one language into another seems like a daunting task at first, but when you break it up into smaller, more manageable tasks, you will realize it is not so hard.
Compiler_Programming  Compilers  Programming_Languages 
december 2015 by GameGamer43
Notes on How Parsers and Compilers Work
Download this zip file to obtain the source code of files discussed in this article.
Compiler_Programming  Compilers  Programming_Languages  Programming 
september 2015 by GameGamer43
Up
I can already hear the groan as I tell you about the new programming language I’m working on. Nobody needs another new language, you’re probably thinking. It’s true, I admit. I’m doing this because it’s fun! There’s an outside chance that the language will catch on, but I would still do it even if nobody ever uses it.
Joe_Hewitt  Programming_Languages  Compiler_Programming 
august 2015 by GameGamer43
Designing a Programming Language: I
Programming languages come in a variety of different paradigms. Even so, there tend to be two main camps along the language front. There are static languages and there are dynamic languages. To avoid too much history and any sort of in-depth analysis, this article will simplify things with a number of assumptions. One assumption we will make which might not always hold true is that programs written in static languages are compiled to machine code, while programs that are written in dynamic languages run in an interpreter.
Programming_Languages  Compiler_Programming  Compilers 
july 2015 by GameGamer43
Why coders get into 'religious wars' over programming languages
If you hang out with programmers enough, one of the first things you'll notice is their very, very closely-held belief that their favored programming language is the only correct one.
Programming_Languages  BusinessInsider 
june 2015 by GameGamer43
bread-man/mango
implementation of a simple programming language as part of a blog series
GitHub_Repos  Compiler_Programming  Compilers  Programming_Languages 
june 2015 by GameGamer43
Making a toy programming language in Lua, part 2
This is part two of my series on writing a toy programming language using LPeg. You should first read part one here.
Lua  Compilers  Programming_Languages  Compiler_Programming 
june 2015 by GameGamer43
Why Google and Apple made their own programming languages
At its Worldwide Developer Conference next week, Apple is going to share a success story that a lot of people don't know about.
BusinessInsider  Google  Google_Go  Go  Go_Lang  Swift  SwiftLang  Apple_Swift  Programming  Programming_Languages  Compiler_Programming  Compilers  Apple  Apple_Computers 
june 2015 by GameGamer43
In this post, and the following posts in this series, I aim to fix something that’s bothered me for a while: writing a parser in Lua isn’t very approachable. In C you have the excellent chapter in The Unix Programming Environment (probably the best bo
In this post, and the following posts in this series, I aim to fix something that’s bothered me for a while: writing a parser in Lua isn’t very approachable. In C you have the excellent chapter in The Unix Programming Environment (probably the best book on programming ever written) about how to use Lex and Yacc. For Ruby there’s the excellent Dhaka gem, as well as Racc, both of which work a lot like Yacc / Bison. There’s also Antlr, which seems to speak to every language except Lua.
Lua  Programming_Languages  Compiler_Programming 
june 2015 by GameGamer43
Hyperpolyglot
Programming Languages
commonly used features in a side-by-side format
Programming_Languages  Programming  Polygot_Programming  Hyperpolyglot.org 
february 2015 by GameGamer43
Choosing the Right Programming Language for Your Startup
If you ever want to be the centre of controversy in a room packed with developers, declare that one programming language is better than another. Banners will be raised and battle cries will be heard from various fiefdoms pontificating:
Programming_Languages 
february 2015 by GameGamer43
Thoughts On Five Years of Emerging Languages
This Wednesday will mark five years of Emerging Languages, the showcase for new programming languages that I dreamed up back in 2009. As we approach half a decade and well over fifty total presentations, I’ve been reflecting on where the event has been and how the language landscape has changed since we began.
Alex_Payne  Programming_Languages 
october 2014 by GameGamer43
Writing Your Own Toy Compiler Using Flex, Bison and LLVM
I’ve always been interested in compilers and languages, but interest only gets you so far. A lot of the concepts of compiler design can easily go way over most programmers’ heads, even the intelligent ones. Needless to say, I’ve tried, without much success, to write a small toy language/compiler before. I’d usually get caught up at the semantic parsing stage. And again, needless to say, this post is mostly inspired by my latest attempt, though this one has been much more successful (so far).
Compiler_Programming  Compilers  Programming_Languages 
july 2014 by GameGamer43
(How to Write a (Lisp) Interpreter (in Python))
This page has two purposes: to describe how to implement computer language interpreters in general, and in particular to show how to implement a subset of the Scheme dialect of Lisp using Python. I call my interpreter Lispy (lis.py). Years ago, I showed how to write a Scheme interpreter in Java as well as one in Common Lisp. This time around the goal is to demonstrate, as concisely and accessibly as possible, what Alan Kay called "Maxwell's Equations of Software." (If you like this treatment, there is a followup essay with a more complex interpreter.)
Programming_Languages  Python  Lisp  Peter_Norvig 
june 2014 by GameGamer43
Build Your Own Lisp
If you're looking to learn C, or you've ever wondered how to build your own programming language, this is the book for you.
Lisp  Programming_Languages  Compiler_Programming 
may 2014 by GameGamer43
orangeduck/BuildYourOwnLisp
Learn C and build your own programming language in under 1000 lines of code!
Compiler_Programming  GitHub_Repos  Programming_Languages 
april 2014 by GameGamer43
So You Want To Write Your Own Language?
The naked truth about the joys, frustrations, and hard work of writing your own programming language
Programming_Languages  Dr.Dobb's 
february 2014 by GameGamer43
Crash Course on Notation in Programming Language Theory
This blog post is meant to help my friends get started in reading my other blog posts, that is, this post is a crash course on the notation used in programming language theory ("PL theory" for short). For a much more thorough introduction, I recommend Types and Programming Languages by Benjamin C. Pierce and Semantic Engineering with PLT Redex by Felleisen, Findler, and Flatt. I'll assume the reader is an experienced programmer but not an experienced mathematician or PL theorist. I'll start with the most basic definitions and try to build up quickly.
Programming_Languages 
january 2014 by GameGamer43
DSLs: A Deep(ish) look
It has been a while since I wrote an article here at CodeProject, but that does not mean I have not been busy. Far from it, I have been very busy digesting new things (at least new for me), and reading a lot. In fact the book I just finished reading (Martin Fowler's 'Domain Specific Languages') kind of inspired this article. I have basically always had an interest in the more obscure elements of software engineering, sure I like doing pretty stuff with WPF, however I find myself going back to my computer science roots a bit more these days, and wanting to explore some of the weirder areas, and let me tell you Domain Specific Languages (DSLs) are a pretty weird (yet powerfu) place.
Programming_Languages  Domain_Specific_Languages  Programming  Java 
november 2013 by GameGamer43
C--
Suppose you are writing a compiler; how will you get quality machine code? You might write your own code generator—but that’s a lot of work. You might use somebody else’s: perhaps VPO, MLRISC, or the One Flare back end. But each of these impressive systems has a rich, complex, and ill-documented interface, and furthermore, to use MLRISC you must write your front end in ML, to use gcc you must write it in C, and so on. You might generate C, if you can live without multiple results in registers, proper tail calls, computed gotos, accurate garbage collection, and efficient exceptions.
C  C--  Programming_Languages  Compiler_Programming 
october 2013 by GameGamer43
Create Your Own Programming Language
What's a Programming Language?
Why We Need another Programming Language
JavaCC
Java Reflection
Eclipse Configuration
Programming Language Example (Name: St4tic)
6.0- Grammar
6.1- Code Generating
6.2- Using Reflection
6.3- Core Creation
6.4- Making Interpreter
System:out:println(1 + var)
Summary
Reference
CodeProject  Programming_Languages  Compiler_Programming 
october 2013 by GameGamer43
How Your Code Is Executed
I remember as a kid I was so excited when something broke in the house, a phone, the TV or the Nintendo. That meant I got to open the thing and look at how it worked. Of course I had to nag my parents for it and they sometimes questioned if I was the one who broke it in the first place simply to crack it open. Maybe once… but not more, I swear! Later on I discovered programming and became fascinated by how easy it was to create things with it. It took me a few years, but I finally got the itch to crack it open and learn how programming languages are made. Since then, I believe I became a better programmer simply because programming languages are the tools we use, and understanding how your tools work, in any profession, art or science, is the best way to master our craft.
Compilers  Compiler_Programming  Programming_Languages 
august 2013 by GameGamer43
1. Kaleidoscope: Tutorial Introduction and the Lexer¶
Welcome to the “Implementing a language with LLVM” tutorial. This tutorial runs through the implementation of a simple language, showing how fun and easy it can be. This tutorial will get you up and started as well as help to build a framework you can extend to other languages. The code in this tutorial can also be used as a playground to hack on other LLVM specific things.
LLVM  Programming_Languages  Compiler_Programming 
august 2013 by GameGamer43
Creating powerful languages with Xtext
Today, I would like to introduce the Xtext framework to you. Xtext is an open source framework which allows you to define your own textual programming languages before you know it. Xtext was not developed specifically with game developers as a target group in mind. It is rather independent in terms of its application context, and I’m convinced that every tool department that ever needed to define their own programming language can immensely benefit from Xtext. So, although there already exists convenient documentation, examples, forums, and so forth, I would like to provide an article that uses a small, game-related example to introduce the technology.
Xtext  Java  Programming_Languages 
july 2013 by GameGamer43
Eternally Confuzzled
So what's this confuzzled stuff anyway? Confuzzlement is a glorious state of being that involves a lot of confusion, frustration, and maybe a little bit of raving lunacy. In a good way, of course. Confuzzled people celebrate their ignorance openly and strive to reach a higher level of ignorance by learning from other confuzzled people. A confuzzled person is proud to be ignorant, but the unwashed masses are often incapable of seeing the subtle difference between being brilliantly clever, pretending to be stupid because you can't be bothered to think, and being genuinely stupid. They key to being confuzzled is having fun with it.
Programming  Programming_Algorithms  Programming_Data_Structures  Programming_Languages  Eternally_Confuzzled 
june 2013 by GameGamer43
PL101: Create Your Own Programming Language
The PL101: Create Your Own Programming Language class began on April 4, 2012.
Nathan's_University  Programming_Tutorials  Programming_Languages 
july 2012 by GameGamer43
Learning to program: Why Python?
Written by, Chris Chew Software Engineer, Udacity Blog reader, Peter, writes: I like udacity but it's programming course is tailored around python and i'm interested in c#. How does Python and C# .NET differ We think this is great question, and it is one we hear often, so we thought we should try answering it in some detail. Before specifically comparing C# and Python, I want to say a few words about why Python is an interesting language for coursework, which in turn will help emphasize the similarities between Python and C# that are discussed a little further below. Udacity’s courses so far have been using Python because it is overall, the most convenient language for teaching and learning. The natural syntax means students spend less time grokking code than with terser languages. Beyond the clean syntax Python’s flexible nature allows it to support all the common programming paradigms and concepts, which is very handy for someone who wants to learn programming as efficiently as possible.
Udacity  Python  Programming  Programming_Languages 
may 2012 by GameGamer43
A Programming Language
Applied mathematics is largely concerned with the design and analysis of explicit procedures for calculating the exact or approximate values of various functions. Such explicit procedures are called algorithms or programs. Because an effective notation for the description of programs exhibits considerable syntactic structure, it is called a programming language.

Much of applied mathematics, particularly the more recent computer-related areas which cut across the older disciplines, suffers from the lack of an adequate programming language. It is the central thesis of this book that the descriptive and analytic power of an adequate programming language amply repays the considerable effort required for its mastery. This thesis is developed by first presenting the entire language and then applying it in later chapters to several major topics.
Programming_Languages 
april 2012 by GameGamer43
A Very Quick Comparison of Popular Languages for Teaching Computer Programming
In the CS department where I currently teach I recently got involved in a debate on which programming language should be used to teach beginners. Java and C are the most commonly used languages in the department, and for many subjects this is appropriate, but not (I believe) for absolute beginners. I believe Python is a much better choice for beginners, and to firm up my own position I performed the very brief, very unscientific test described below.
Programming_Languages  Programming 
march 2012 by GameGamer43
Research in Programming Languages
Is there still research to be done in Programming Languages? This essay touches both on the topic of programming languages and on the nature of research work. I am mostly concerned in analyzing this question in the context of Academia, i.e. within the expectations of academic programs and research funding agencies that support research work in the STEM disciplines (Science, Technology, Engineering, and Mathematics). This is not the only possible perspective, but it is the one I am taking here.
Programming_Languages  from twitter_favs
march 2012 by GameGamer43
DART - Structured web programming
From quick prototypes to serious apps
Dart's optional types let you prototype quickly and then revise your code to be more maintainable.
Wherever you need structured code
You can use the same Dart code in most modern web browsers (Chrome, Safari 5+, Firefox 4+) and on servers. Look for more browser support shortly.
Familiar yet new
Dart code should look familiar if you know a language or two, and you can use time-tested features such as classes and closures. Dart's new features make it easier for you to develop and maintain software. Dart is still in the early stages of development, so please take a look and tell us what you think.
Dart  Programming_Languages  Programming 
october 2011 by GameGamer43
Ranking Programming Languages by Size of Community and Number of Projects
Drew Conway and John Myles White of the website Dataists decided to try ranking programming languages using a new system: the size of the community and the number of projects. In Conway's blog post about the results, he admits that there's no perfect way to find data about either measure. He and Myles settled on using the number of questions in StackOverflow as a measure of the community and the number of projects in Github as a measure of the number of projects.
programming  programming_languages 
december 2010 by GameGamer43

Copy this bookmark:



description:


tags: