Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
To work with something with so much regular, rigid structure via a neural net you'd need a crapton of training. You'd need to have layers that mimic the stages of a compiler. You'd need to give the thing a lot of working memory for parsing, etc. so you'd have to use an RNN (or, as an optimization, an LSTM), and a large one, which only increases the training complexity and time.
This is what grammars were made for. But if you use a grammar you need to specify a definite syntax for your pseudocode. In which case you end up with Python :p -
if this is possible then developers don't need to learn languages they just put pseudocode their and converted into the code by neural n/w🤔🤔
-
Brolls31557yThis is basically just a transpiler from a pseudocode-like DSL to whatever other language you want it to end up going to.
Loads of ways to approach this. 👍 -
Do you mean converting it into an actual code or executing pseudocode to work normally?
-
essi3816yI like it, if nothing else because it could be a cool tool for improving the correction of tasks in logic courses or doing quick testing (e.g. a recursive solution to some problem)
A neural network that converts pseudocode into actual working code.
A neural network that converts pseudocode into actual working code.